Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object has no attribute 'get_identity' #34

Open
guiglass opened this issue Aug 21, 2021 · 1 comment
Open

object has no attribute 'get_identity' #34

guiglass opened this issue Aug 21, 2021 · 1 comment

Comments

@guiglass
Copy link

guiglass commented Aug 21, 2021

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants