OpenClaw · Skill
Jadwal Sholat
Fetches prayer schedules for Indonesian cities and regencies from api.myquran.com, using data sourced from Indonesia's Ministry of Religious Affairs (Kemenag Bimas Islam). Covers the six daily times: imsak, subuh, dzuhur, ashar, maghrib, and isya. Supports queries for today, a specific date, or a full month.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install banghasan/jadwal-sholatClawHub installer
npx clawhub@latest install banghasan/jadwal-sholatOpenClaw CLI
openclaw skills install banghasan/jadwal-sholatDirect OpenClaw install
openclaw install banghasan/jadwal-sholatWhat this skill does
Fetches prayer schedules for Indonesian cities and regencies from api.myquran.com, using data sourced from Indonesia's Ministry of Religious Affairs (Kemenag Bimas Islam). Covers the six daily times: imsak, subuh, dzuhur, ashar, maghrib, and isya. Supports queries for today, a specific date, or a full month.
Why it matters
Uses official Kemenag Bimas Islam data without requiring an API key, account, or local calculation engine.
Typical use cases
- Checking today's prayer times for a specific Indonesian city
- Looking up the prayer schedule for a date before travel
- Pulling a full month's schedule for Ramadan planning
- Finding the correct city ID when a location name is ambiguous
- Feeding official prayer times into a daily reminder or calendar bot
Source instructions
Jadwal Sholat (api.myquran.com)
API base: https://api.myquran.com/v3
Script helper (rekomendasi): scripts/myquran_sholat.py
Quick start
Cari lokasi (kab/kota):
python3 scripts/myquran_sholat.py cari "tangerang"
Jadwal sholat hari ini (Asia/Jakarta) untuk lokasi berdasarkan keyword:
python3 scripts/myquran_sholat.py hari-ini "kota tangerang"
Jadwal sholat tanggal tertentu (format YYYY-MM-DD):
python3 scripts/myquran_sholat.py tanggal "kota tangerang" 2026-02-03
Jadwal sholat 1 bulan (format YYYY-MM):
python3 scripts/myquran_sholat.py bulan "kota tangerang" 2026-02
Catatan pemilihan lokasi
Endpoint pencarian mengembalikan beberapa kandidat. Script akan:
- mencoba match exact (case-insensitive) ke kolom
lokasibila memungkinkan - kalau tidak, pakai hasil pertama
Kalau hasilnya kurang tepat, gunakan keyword yang lebih spesifik (mis. KOTA TANGERANG vs TANGERANG), atau ambil id lokasi lalu panggil mode id.
Pemanggilan langsung via curl (tanpa script)
Cari kab/kota:
curl -s "https://api.myquran.com/v3/sholat/kabkota/cari/tangerang"
Ambil jadwal hari ini:
curl -s "https://api.myquran.com/v3/sholat/jadwal/<ID>/today?tz=Asia/Jakarta"
Ambil jadwal periode (bulanan / harian):
# bulanan
curl -s "https://api.myquran.com/v3/sholat/jadwal/<ID>/2026-02?tz=Asia/Jakarta"
# harian
curl -s "https://api.myquran.com/v3/sholat/jadwal/<ID>/2026-02-03?tz=Asia/Jakarta"