lionheart / python-harvest

A Python wrapper for the Harvest time-tracking API.
Apache License 2.0
55 stars 49 forks source link

tasks() error (400) #52

Open reinhardt opened 3 years ago

reinhardt commented 3 years ago
>>> import harvest
>>> client = harvest.Harvest(...)
>>> client.tasks()
<Response [400]>
>>> res = client.tasks()
>>> res.text
'HTTP GET requests with a body are not accepted.'

Python 3.8.9 on linux python-harvest-redux 4.0.0

reinhardt commented 3 years ago

Just found #51 which would fix this.

bradbase commented 3 years ago

Hey @reinhardt

As I mentioned in #51, I don't know how much traction you're likely to get here. I've been waiting for a few things to get adopted for a couple of years. Refer #43, #48 and #49.

I have a library written which supports Harvest API v2 including the current 400's for the GET request. Refer the comment in the conversation for #51: https://github.com/lionheart/python-harvest/pull/51#issuecomment-916497763