jason0x43 / alfred-weather

Get weather forecast using Alfred
MIT License
158 stars 20 forks source link

403 error with Climacell #19

Closed filipgoc closed 4 months ago

filipgoc commented 3 years ago

Hi, Great looking workflow! Thank you for sharing.

This is the first time I'm trying to use this workflow, and I'm getting erro 403 with Climacell.

From climacell's help file:

Be sure to include a valid API key with every request in order to access the API. Requests not properly authenticated will return a 403 error code.

I did copy the Key from my climacell account and put it in the ClimaCellKey field.

Any ideas on how to troubleshoot this?

Thanks!

jeffbyrnes commented 3 years ago

@filipgoc did you get a v2 or v3 key from ClimaCell? I noticed recently that they have two APIs now, and this only works with the v2 one.

orkhan10 commented 3 years ago

Yeah but it does not give me an option to choose from. And the one that it gives me does not work.

jeffbyrnes commented 3 years ago

@orkhan10 yeah, I got an email recently that they’ve sunsetted the v2 API, so this workflow will need to be updated to work with v3.

gerjo01 commented 3 years ago

I'm experiencing the same error. Looking forward to an updated version.

orkhan10 commented 3 years ago

OpenWeather API works fine. I used that.

jeffbyrnes commented 3 years ago

@gerjo01 @filipgoc I recommend following @orkhan10’s lead & using OpenWeather. It's unlikely I or @jason0x43 will get a chance to refactor things for the new ClimaCell API anytime soon.

fazzer4x commented 2 years ago

as far as I can tell Climacell is tomorrow.io now. The new docs for the api is at https://developer.tomorrow.io

jason0x43 commented 2 years ago

I looked a bit into tomorrow.io API. It's pretty different from the ClimaCell API. The hourly forecast matches up pretty well, but tomorrow.io doesn't seem to provide summary daily info (like, it doesn't return a high and low temp). So there will need to be some refactoring work.

jeffbyrnes commented 1 year ago

Relates to #24

jason0x43 commented 4 months ago

ClimaCell support was removed, and Tomorrow.io was added, in 1.7.0.