python-harvest
python-harvest copied to clipboard
demo code should be updated
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
@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