Samuel Aubin Samuel Aubin - 1 year ago 106
JSON Question

Using World Weather Online

I am trying to access the Marine library for the api, World Weather Online

i have signed up and have a api key although the docs are not helping be configure the url needed to access the api.

I have tried this url-,2.35&format=json

and am getting the response-

{ "data": { "error": [ {"msg": "API key does not have access to the resource." } ] }}

Not this replaces my key = XXXXXXXXXXXXXXXXXXXXX

Any ideas

Answer Source

Ah, I think I know. When you sign up, they give a free trial of premium api access. And, apparently, the api key they give you, it doesn't work with free endpoints, for whatever reason. It works with premium ones, though.