Patreon / patreon-python

Interact with the Patreon API via OAuth
Apache License 2.0
122 stars 33 forks source link

object has no attribute 'get_identity' #34

Open guiglass opened 3 years ago

guiglass commented 3 years ago

I see in example you call to patreon.API.get_identity()

But when i exactly try the same I get: AttributeError: 'API' object has no attribute 'get_identity'

Has it been removed?

How do I get currently_entitled_amount_cents?

jbradforddillon commented 3 years ago

@guiglass I'm guessing that you ran into the same issue I just did. My lock file has this package pinned to v0.5.0, which is the highest tagged version. That version is pretty different (and older) than what's in master. Try fetch_user() instead.

That said, v0.5.0 appears to use the V1 api, which is not recommended.