4 years ago
Using API v2
Hi
Can someone point me in the direction of some instructions on how to make API calls with V2 of the API? (Just with a basic example on how the auth is done now etc)
I can find exampl...
On 2/26/2021 at 6:33 PM, Stuart Weenig said:Looks like the entire response has a .to_dict() method. However, this results in a dictionary where one of the entries is called "items". Unfortunately, dictionaries have a native method called items(), so this conflicts and you can't actually access that key pythonically (thanks Swagger). The above method is what I'd use.
Actually there was some weird behaviour going on when I was trying to access the data and was scratching my head but makes sense now. Thanks