{"action":"created","issue":{"url":"https://api.github.com/repos/lionheart/python-harvest/issues/37","repository_url":"https://api.github.com/repos/lionheart/python-harvest","labels_url":"https://api.github.com/repos/lionheart/python-harvest/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/python-harvest/issues/37/comments","events_url":"https://api.github.com/repos/lionheart/python-harvest/issues/37/events","html_url":"https://github.com/lionheart/python-harvest/issues/37","id":392414791,"node_id":"MDU6SXNzdWUzOTI0MTQ3OTE=","number":37,"title":"Harvest API v1 to Harvest API v2","user":{"login":"Brad-eki","id":38775942,"node_id":"MDQ6VXNlcjM4Nzc1OTQy","avatar_url":"https://avatars0.githubusercontent.com/u/38775942?v=4","gravatar_id":"","url":"https://api.github.com/users/Brad-eki","html_url":"https://github.com/Brad-eki","followers_url":"https://api.github.com/users/Brad-eki/followers","following_url":"https://api.github.com/users/Brad-eki/following{/other_user}","gists_url":"https://api.github.com/users/Brad-eki/gists{/gist_id}","starred_url":"https://api.github.com/users/Brad-eki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brad-eki/subscriptions","organizations_url":"https://api.github.com/users/Brad-eki/orgs","repos_url":"https://api.github.com/users/Brad-eki/repos","events_url":"https://api.github.com/users/Brad-eki/events{/privacy}","received_events_url":"https://api.github.com/users/Brad-eki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T02:27:04Z","updated_at":"2018-12-19T15:13:25Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm writing an accounting integration between Harvest and elsewhere. Thanks to @benkonrath for the invoice support and @joseph-levine-fjorge for the personal token work I can do most of what I need.\r\n\r\nI have found, however, invoice statuses (Harvest API v1) are now called state (HArvest API v2) and have a different collection of possible values. There are other changes which appear to use a profoundly different model between the two API versions.\r\n\r\nI am expecting to work predominantly in Harvest API v2.\r\n\r\nAt the moment, by way of invoice support and personal access tokens, there is an amount of code which is crossing over. My changes will require a break in backwards compatibility or, more accurately, direct support for API v2.\r\n\r\nIs there a considered pathway to support API v2 in python-harvest?"},"comment":{"url":"https://api.github.com/repos/lionheart/python-harvest/issues/comments/448629767","html_url":"https://github.com/lionheart/python-harvest/issues/37#issuecomment-448629767","issue_url":"https://api.github.com/repos/lionheart/python-harvest/issues/37","id":448629767,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODYyOTc2Nw==","user":{"login":"dlo","id":38447,"node_id":"MDQ6VXNlcjM4NDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/38447?v=4","gravatar_id":"","url":"https://api.github.com/users/dlo","html_url":"https://github.com/dlo","followers_url":"https://api.github.com/users/dlo/followers","following_url":"https://api.github.com/users/dlo/following{/other_user}","gists_url":"https://api.github.com/users/dlo/gists{/gist_id}","starred_url":"https://api.github.com/users/dlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlo/subscriptions","organizations_url":"https://api.github.com/users/dlo/orgs","repos_url":"https://api.github.com/users/dlo/repos","events_url":"https://api.github.com/users/dlo/events{/privacy}","received_events_url":"https://api.github.com/users/dlo/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T15:13:25Z","updated_at":"2018-12-19T15:13:25Z","author_association":"MEMBER","body":"@Brad-eki There's no plan at the moment, but my gut reaction is that backwards incompatibility would be OK given that this is a major API update. Thanks for all of your contributions so far!"}}
{"actor":{"display_login":"dlo"}}