python-harvest icon indicating copy to clipboard operation
python-harvest copied to clipboard

demo code should be updated

Open swiftech opened this issue 3 years ago • 1 comments

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 avatar Sep 03 '20 04:09 swiftech

@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

bradbase avatar Sep 04 '20 04:09 bradbase