Skip to content

OpenWeather's One Call API isn't free anymore #1

@oleg-glushko

Description

@oleg-glushko

For this, I am going to use a weather service called OpenWeather. OpenWeather provides a free RESTful API weather service (where REST stands for REpresentational State Transfer) and will act as a more realistic example. I have also created a public NuGet package to serve the chapter and act as a client for the OpenWeather RESTful APIs.

It seems like OpenWeather doesn't provide this service for free anymore, so I can't follow the examples in your TDD book. I keep getting "401 Unauthorized" messages from the One Call API. Also, v2.5 states: "Invalid API key." and v3.0 says: "Please note that using One Call 3.0 requires a separate subscription to the One Call by Call plan.". But it accepts my key when I switch to the "forecast" endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions