We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using OAuth 2.0 authentication, as follow:
from pcloud import PyCloud pc = api.PyCloud.oauth2_authorize(client_id="stg", client_secret="stg123") pc.listfolder(folderid=0)
The output is: Traceback (most recent call last): File "", line 1, in NameError: name 'api' is not defined
by doing "from pcloud import api" The output is: AttributeError: type object 'PyCloud' has no attribute 'oauth2_authorize'
Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
Hi @mrahjoo which version of pycloud you are using? You need at least 0.10a.
Sorry, something went wrong.
Closed because of inactivity.
No branches or pull requests
When using OAuth 2.0 authentication, as follow:
The output is:
Traceback (most recent call last):
File "", line 1, in
NameError: name 'api' is not defined
by doing "from pcloud import api"
The output is:
AttributeError: type object 'PyCloud' has no attribute 'oauth2_authorize'
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: