Halo para pengoding 🎉
Yuk, kenalan sama API Tanggal Merah dari Harli! Buat kamu yang pengen tau kapan waktu yang pas buat liburan atau cuma mau nandain kalender, kita punya jawabannya!
API Base URL: https://harli.mgkusumaputra.me
Seluruh Hari Libur
https://harli.mgkusumaputra.me/api
Contoh Request:
GET /api HTTP/1.1
Content-Type: application/json
Host: https://harli.mgkusumaputra.me
Hari Libur Terdekat
https://harli.mgkusumaputra.me/api/nearest
Contoh Request:
GET /api/nearest HTTP/1.1
Content-Type: application/json
Host: https://harli.mgkusumaputra.me
Filter Tahun
https://harli.mgkusumaputra.me/api?year="yyyy"
Contoh Request:
GET /api?year="2024" HTTP/1.1
Content-Type: application/json
Host: https://harli.mgkusumaputra.me
Filter Bulan
https://harli.mgkusumaputra.me/api?month="mm"
Contoh Request:
GET /api?month="01" HTTP/1.1
Content-Type: application/json
Host: https://harli.mgkusumaputra.me
Filter Cuti Bersama
https://harli.mgkusumaputra.me/api?includeCuti=true
Contoh Request:
GET /api?month="2024"&includeCuti=true HTTP/1.1
Content-Type: application/json
Host: https://harli.mgkusumaputra.me