Skip to content

Instantly share code, notes, and snippets.

@lalithabacies
Created September 7, 2017 07:17
Show Gist options
  • Save lalithabacies/c8f973dc6754384d6cade282b64a8cb1 to your computer and use it in GitHub Desktop.
Save lalithabacies/c8f973dc6754384d6cade282b64a8cb1 to your computer and use it in GitHub Desktop.
Open weather API key
BIT.LY link zu dieser Seite:
https://bit.ly/weather-api
API Key:
bd5e378503939ddaee76f12ad7a97608
API Doku:
http://openweathermap.org/current
How to use an API key:
http://openweathermap.org/appid#use
@harsh-9389
Copy link

not working for onecall 3.0

@Sighmnc
Copy link

Sighmnc commented Oct 23, 2024

not working for onecall 3.0

What is the specific error message you are receiving?

@ThronaByte
Copy link

not working for onecall 3.0

What is the specific error message you are receiving?

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.openweathermap.org/data/3.0/onecall?lat=6.465422&lon=3.406448&appid=Bd5e378503939ddaee76f12ad7a97608

@farhannawazofficial
Copy link

key are not working

@hanazaxk
Copy link

Still working, Thanks!

@sctech-tr
Copy link

key are not working

it works

@pip-install-skills
Copy link

lmao it is still working, i wonder who is paying for this

@NESSOSU
Copy link

NESSOSU commented Jan 28, 2025

thanks bro still working

@khandelwalpiyush19
Copy link

working perfectly

@droryair
Copy link

Still works, Thank you!

@AiiRKing
Copy link

thank

@erbill
Copy link

erbill commented Mar 5, 2025

{
"cod": 401,
"message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."
}

@zawarkaytoffical
Copy link

thank, working.

@AdvinculaCarlo
Copy link

thank you :) still woking ...

@mahdi-safdari
Copy link

{
"cod": 401,
"message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."
}

@mahdi-safdari
Copy link

@srinivas-191
Copy link

Thank you

@itzmuel
Copy link

itzmuel commented Mar 23, 2025

works as of 22 05 2025
thank you

@yatao-zhuozhuo
Copy link

works as of 27 03 2025
Thank you ! Help me a lot

@Nightray-HA
Copy link

@srinivas-191
Copy link

srinivas-191 commented Mar 29, 2025 via email

@yashchavdakonsultera
Copy link

account has been blocked

@WasItfrog5
Copy link

i can confirm that on 27th april the key still works
url:https://api.openweathermap.org/data/2.5/weather?q=London&appid=bd5e378503939ddaee76f12ad7a97608&units=metric

{
  "coord": {
    "lon": -0.1257,
    "lat": 51.5085
  },
  "weather": [
    {
      "id": 721,
      "main": "Haze",
      "description": "haze",
      "icon": "50d"
    }
  ],
  "base": "stations",
  "main": {
    "temp": 8.26,
    "feels_like": 8.26,
    "temp_min": 7.53,
    "temp_max": 8.89,
    "pressure": 1026,
    "humidity": 95,
    "sea_level": 1026,
    "grnd_level": 1021
  },
  "visibility": 2900,
  "wind": {
    "speed": 0,
    "deg": 0
  },
  "clouds": {
    "all": 100
  },
  "dt": 1745735677,
  "sys": {
    "type": 1,
    "id": 1414,
    "country": "GB",
    "sunrise": 1745728782,
    "sunset": 1745781377
  },
  "timezone": 3600,
  "id": 2643743,
  "name": "London",
  "cod": 200
}

@jonkolp
Copy link

jonkolp commented May 5, 2025

works as of 05 05 2025
Thank You

@YogaSakti
Copy link

Work, Thank You

@VkedaxVIP
Copy link

VkedaxVIP commented May 14, 2025

Можу підтвердити, що 27 квітня ключ все ще працює. URL-адреса: https://api.openweathermap.org/data/2.5/weather?q=London&appid=bd5e378503939ddaee76f12ad7a97608&units=metric

{
  "coord": {
    "lon": -0.1257,
    "lat": 51.5085
  },
  "weather": [
    {
      "id": 721,
      "main": "Haze",
      "description": "haze",
      "icon": "50d"
    }
  ],
  "base": "stations",
  "main": {
    "temp": 8.26,
    "feels_like": 8.26,
    "temp_min": 7.53,
    "temp_max": 8.89,
    "pressure": 1026,
    "humidity": 95,
    "sea_level": 1026,
    "grnd_level": 1021
  },
  "visibility": 2900,
  "wind": {
    "speed": 0,
    "deg": 0
  },
  "clouds": {
    "all": 100
  },
  "dt": 1745735677,
  "sys": {
    "type": 1,
    "id": 1414,
    "country": "GB",
    "sunrise": 1745728782,
    "sunset": 1745781377
  },
  "timezone": 3600,
  "id": 2643743,
  "name": "London",
  "cod": 200
}

Снимок экрана 2025-05-14 114035
Снимок экрана 2025-05-14 114250
Снимок экрана 2025-05-14 114341
this code can be written in a simple notepad and saved in an html file, replacing the icon with any .ico
if something doesn't work, you can create your own icon from any photo on the internet directly from .png to .ico
Thank you all for your attention))
There is also an option to replace the weather city with your own instead of "London" and specify your API-Key.

@VkedaxVIP
Copy link

Можу підтвердити, що 27 квітня ключ все ще працює. URL-адреса: https://api.openweathermap.org/data/2.5/weather?q=London&appid=bd5e378503939ddaee76f12ad7a97608&units=metric

{
  "coord": {
    "lon": -0.1257,
    "lat": 51.5085
  },
  "weather": [
    {
      "id": 721,
      "main": "Haze",
      "description": "haze",
      "icon": "50d"
    }
  ],
  "base": "stations",
  "main": {
    "temp": 8.26,
    "feels_like": 8.26,
    "temp_min": 7.53,
    "temp_max": 8.89,
    "pressure": 1026,
    "humidity": 95,
    "sea_level": 1026,
    "grnd_level": 1021
  },
  "visibility": 2900,
  "wind": {
    "speed": 0,
    "deg": 0
  },
  "clouds": {
    "all": 100
  },
  "dt": 1745735677,
  "sys": {
    "type": 1,
    "id": 1414,
    "country": "GB",
    "sunrise": 1745728782,
    "sunset": 1745781377
  },
  "timezone": 3600,
  "id": 2643743,
  "name": "London",
  "cod": 200
}

Снимок экрана 2025-05-14 114035 Снимок экрана 2025-05-14 114250 Снимок экрана 2025-05-14 114341 this code can be written in a simple notepad and saved in an html file, replacing the icon with any .ico if something doesn't work, you can create your own icon from any photo on the internet directly from .png to .ico Thank you all for your attention)) There is also an option to replace the weather city with your own instead of "London" and specify your API-Key.

Снимок экрана 2025-05-14 141901
Снимок экрана 2025-05-14 141747
Added more accuracy and shows how to replace HPA with mercury column.

@taigasign
Copy link

thank you

@VkedaxVIP
Copy link

thank you

image
here is my final work.
I did a city search, added exact city coordinates, dark and light design, added a city search, which can be activated by pressing the "Enter" button or the next button on the phone keyboard, a 3-day weather forecast and expected day/night temperature, added the probability of precipitation so that it wouldn't be boring, added 3 popular radio stations that immediately play the air without transitions.
nothing superfluous))

@VkedaxVIP
Copy link

VkedaxVIP commented May 22, 2025

here is the code, all you need to replace are the traps for your channels and connections to you 7screen, if you need them of course.
Screen 11 noted that I closed the code, these are almost identical screenshots from screen 10, just for those who don't understand how it works.
1
2
3
4
5
6
7
8
9
10
11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment