Badíʿ Service API
Basic Usage
Make a GET call to this URL to get today's Badíʿ date where the web server is.
https://wondrous-badi.today/badiService
To specify which Gregorian date to get the Badíʿ date for, add the year/month/day as well. Typically, pass your current date on the URL:
https://wondrous-badi.today/badiService/2024/5/24
By default, the Badíʿ date returned is the one before sunset on the Gregorian date specified. To get the date after sunset, add /2 to the URL. E.g.: https://wondrous-badi.today/badiService/2024/5/24/2
These calls return a JSON structure as seen here:
Status
18 March 2023 / 18 Loftiness 179
The service is available again, at the new URL shown above. The old URL was https://badiservice.apphb.com/today
6 December 2022 / 14 Speech 179, the "apphb.com" web site is shut down, so this service is not available. As an alterative, for websites, consider using a JavaScript date display as described here.
30 May 2016 / 16 Grandeur 173:
Initial setup
The core date conversion functions are working and well-tested.
The date returned is the "main part" of the Badíʿ day, before sunset on the Gregorian date specified.
The source code can be viewed in GitHub.