Skip to content

Day 23: openweathermap.org requires API key now  #7

Open
@ericchou1

Description

@ericchou1

It seems staring October 9th, 2015, openweathermap.org requires API key for access, therefore returning an error:

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.openweathermap.org/data/2.5/weather?zip=90210,us&appid=

Per https://openweathermap.org/faq#error401:
"Starting from 9 October 2015 our API requires a valid APPID for access. Note that this does not mean that our API is subscription-only now - please take a minute to register a FREE account to receive a key."

The location, sun, and events services still work when testing.

Perhaps make a note during screencast to indicate try the other APIs other than weather or take it out completely in example code?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy