patreon-python icon indicating copy to clipboard operation
patreon-python copied to clipboard

object has no attribute 'get_identity'

Open guiglass opened this issue 2 years ago • 1 comments

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?

guiglass avatar Aug 21 '21 19:08 guiglass

@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.

jbradforddillon avatar Aug 31 '21 03:08 jbradforddillon