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

demo code should be updated #50

Open
swiftech opened this issue Sep 3, 2020 · 1 comment
Open

demo code should be updated #50

swiftech opened this issue Sep 3, 2020 · 1 comment

Comments

@swiftech
Copy link

swiftech commented Sep 3, 2020

The code of demo should be :

token = harv.fetch_token("https://id.getharvest.com/api/v2/oauth2/token", client_secret="CLIENT SECRET", authorization_response=response_uri, include_client_id=True, state=state)

otherwise you will got exception says:

(invalid_request) 'client_id', 'client_secret' required

version: v2_dev

@bradbase
Copy link

bradbase commented Sep 4, 2020

@swiftech Thanks for picking that up.

I won't be fixing the doco here. I have been unable to get the dev_v2 code published with lionheart so I have made a project for it and it is now and it is now published under that project.

Harvest link to the project;
https://www.getharvest.com/apps-and-integrations/python-library

Github link to the project;
https://github.com/bradbase/python-harvest_apiv2

Cheers

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

No branches or pull requests

2 participants