Patreon

API

Code requiring an integration for Patreon are given access to make requests on the Users' behalf. All requests are automatically authenticated.

Here is an example of requesting all Campaigns from Patreon:

const response = await window.casthub.fetch({
    integration: 'patreon',
    method: 'GET',
    url: 'campaigns',
    data: {
        'fields[campaign]': [
            'creation_name',
            'image_url',
            'patron_count',
        ].join(','),
    },
});

This supports the Patreon v2 API.