Namaz vakitlerinde masaüstü bildirimler gönderebilecek ve bir yandan da ezan okuyacak bir program yapmayı öğreniyoruz.
Video serisi boyunca kullandığımız siteler:
https://pypi.org/project/win10toast/
https://aladhan.com/prayer-times-api
Kurulum:
pip install requests
Kodlar:
import requests parametreler = { "city": "İstanbul", "country": "Turkey", "method": 13 } response = requests.get("http://api.aladhan.com/v1/timingsByCity/:date_or_timestamp", params=parametreler) print(response.json()) print(response.json()['data']['timings']) print(response.json()['data']['timings']['Dhuhr'])