Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants