I’m a beginner in python I’m wanting to make an application using the kivy library. But I’m having a hard time extracting user data using public APIs that Laura made available.
It appears he already has a key (it’s there in the URL parameters). Off the top of my head, the first call to the API must be a call to get sessions, then use the data from that all to get other stuff. I can look at some Preflight IF implementation and see if something there might help.
There’s a chrome extension called Postman, that allows you to test requests independently, rather than having to run a script every time. Use that to get things right, then implement
And yes, as insertusername said - don’t share your key, use a placeholder for your examples or blue it out before posting a screenshot
You seem to be using requests which isn’t a valid function without the requests module I believe. Need import requests
( @a_gudimenko could you check if I’m right here, it’s midnight so I’m not at peak brain power)
What he shared isn’t the API key but the website where you can get into with the key. Without a key you can’t access the API over this URL. This url was posted by Laura publicly a long time ago…
So Dalmo_Cabral you need to message the devs and ask for a key to receive access to the API.
Nevermind, you have already edited the key out. Didn’t see the edit.