Change OpenWeather API URL

Open Beginner friendly
#1,048 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Trace the weather-theme request that uses the OpenWeather API and identify where the One Call API 3.0 URL is selected. Check the current-weather API requirements against the existing API key and request flow. Done means weather data is displayed for an account without a One Call subscription.

Written by the indexing model from the issue text.

Description

bug

Describe the bug
One Call API 3.0 requires subscription. Use current weather data API instead.

To Reproduce
Steps to reproduce the behavior:

  1. Use API key from OpenWeather account with no subscription
  2. Set theme to display weather
  3. API returns 4xx error

Expected behavior
Weather data should be displayed.

Dominant language
Rich Text Format
Stars
2.3k
Forks
412
Avg merge
21h 10m
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mathoudebine/turing-smart-screen-python

All issues in mathoudebine/turing-smart-screen-python

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.