Please Read

The current stable releases of this module contain a bug that prevents information being pulled from the API (see this issue). The bug is in the underlying Patreon API and exists in the latest stable release (v0.3.1). The issue is addressed in the next release of the Patreon API (v1.0.0) but this does not currently have a stable release and does not look to be getting one any time soon. As such the stable version of this module is broken and not recommended for use on production sites.



Overview

Link Drupal and Patreon using the official PHP library.

The API allows Patreon Creators to pull data about user accounts, patrons, and campaigns from Patreon and make it available for use in a Drupal environment.

The Patreon API library has a dependency on composer, which means that this module must also be installed using composer. You can find instructions for managing a Drupal 7 site using composer at https://www.drupal.org/node/2718229.

Features

Link your Drupal site to your Creator account on the Patreon website.

Interacts with the Patreon API to make data about user accounts, patrons and campaigns available to Drupal code.

Includes helper functionality to pull specific values from the obtained results.

includes helper functions to allow developers to create their own functionality to authorise user accounts and use Patreon data.

The Patreon User sub-module can be used to allow users to log into a Drupal site with their Patreon accounts, creating a duplicate account on the Drupal site.

Requirements

The Patreon API library has a dependency on composer, which means that this module must also be installed using composer. You can find instructions for managing a Drupal 7 site using composer at https://www.drupal.org/node/2718229.

A client key and secret must be obtained by registering at https://www.patreon.com/platform/documentation/clients. The modules' endpoints (/patreon/oauth and /patreon_user/oauth if using the Patreon User module) must be registered as allowed redirect destinations in the client application.

Current Maintainer

Dale Smith (MrDaleSmith)

As I don't currently use Patreon or have any Patrons, I am limited in the testing that I can do on this module. Because of this, I am looking for a co-maintainer with more day-to-day contact with Patreon who can test that it all works in real life.