|
|
|
|
|
by TheLocehiliosan
1387 days ago
|
|
This is pretty cool, but... Authentication seems to be done with a query string ?api_key=KEY instead of some kind of standard header. Also, there is a query string "format" for changing the output, ?format=json. Instead of using the Accept header :/ |
|
Headers are harder to use than query string parameters. You can't start poking around in an API as easily using just a web browser if the API requires authentication and accept headers.
The downside of query strings for API keys is that they can inadvertently be exposed by log files. For this API, where the API key appears to be there purely for analytics reasons, I don't think that risk is particularly bad.