Figured I’d start a topic with some features I’d love the API to have. Feel free to add to it!
The ability to filter the data in the initial request would be immensely helpful (I beleive there is a section for it in the JSON API spec). With a normal client, if you request the current users pledges, you only get the users pledge to the client’s campaign. That’s all fine and dandy, but when you have a multi-creator client, you pull ALL of the user’s pledges… and then must loop through them to find the correct pledge. Needless to say, this can bog things down a bit, especially if there is other data you want to pull in that request. Being able to set a filter on the request would be fantastic in this situation, and others.
Access to Patreon Specifics
Things like weather or not the charging cycle has started. At the moment, we know that the charging cycle goes from the 1st to 5th, and we can account for it, but if this ever changes in the future, developers would need to push out app updates. If there were a way to poll this information, things would be much easier. I’m sure there are other such variables and information that would be useful to poll, though I can’t think of any at the moment.
Request Pledges at a Specific Date
This might be a bit harder, but if we could request a list of pledges from, say, the January 2017 charging cycle, that would also be useful. The Webhooks are useful, but they don’t help if you want to grant any retroactive access to users. Another solution would be some way to pull the charging cycle .CSV or the data therein.