For example, when fetching a campaign of a user, you get creation_name
, which is the text underneath the name on the Patreon frontend, but no name
value, and if you attempt to request the name value in your fields it refuses. How do i get this value?
Are you using v2 endpoints?
Hi @codebard, I have come across this thread and also want to be able to retrieve the “name” attribute of a campaign.
I see that you can retrieve this by using the “current_user” endpoint (https://www.patreon.com/api/oauth2/api/current_user
).
However, I was wondering whether it was possible to also retrieve this using the Version 2 endpoint, i.e. using https://www.patreon.com/api/oauth2/v2/campaigns?fields[campaign]=name
.
Just to mention that I do URL encode the “[]” characters in case anyone is wondering, i.e. %5Bcampaign%5D=name
Thank you for all your help.
Just to mention that @codebard has previously mentioned that the Version 2 API may not currently be returning the name
field.
Please see post: Various questions about the api v2 - #6 by codebard
i ended up just resorting to using the api v1 endpoint, it seems the only one that’s actually quite functional at the moment, still!
Yes currently this may not be possible with v2.