I was trying to connect to the robotevents API to grab data for something, but, while in my browser (Vivaldi 2.11) I get what I expected, a JSON response, but when I try to use, for example, nano-get to grab data through a program, I get
Your browser likely contains a cookie with an API key. You can use Chrome to see what each site has stored in cookies. Reverse engineer that data to figure out the access token you need to send and the method. Usually this involves either sending the token via an HTTP header or as a JSON/XML field.
If it’s read from a cookie, and you can’t otherwise see it in the traffic, it’s probably being sent in the HTTP headers. Using something like Postman to play with it until you get it right, it’ll save you time.
Unless that link Barin posted is to documentation on how to get access, in which case do whatever that says. I’m too lazy to make an account to read it lol.
Ah, I didn’t realize you had to be logged in. I guess I really am perpetually logged-in to RobotEvents nowadays…
This is what the page looks like:
Even the menu entry for “Request Access” does not show up if you are not logged-in, which is probably where the confusion came from in the first place.