node-darksky icon indicating copy to clipboard operation
node-darksky copied to clipboard

{"code":403,"error":"Forbidden"}

Open JakeStevenson opened this issue 12 years ago • 2 comments

I've double-checked my API key and it's correct (the direct URLs listed on the darksky dev pages work), but using node-darksky with the example code given results in an error from their API:

{"code":403,"error":"Forbidden"}

JakeStevenson avatar Jul 16 '13 19:07 JakeStevenson

This package could be incompatible with the latest API. Do you have any further information?

awestendorf avatar Jul 17 '13 17:07 awestendorf

The URL has changed, if you substitute api.darksky.com to api.forecast.io and remove /v1 from the path each time it's mentioned in client.js and client_spec.js it works

evamedia avatar Jan 19 '14 15:01 evamedia