ВНИМАНИЕ! Данный проект не поддерживается c 2022 года. ATTENTION! This project has not been supported since 2022.
An API to extract horoscope, moon phases and days, planet notes, aspect notes.
- Moon haircut calendar
html format
calendar by month
calendar and detail all days in month
- Moon day (now, custom date)
html format, phase, persent of visible, icon
Moon day
Moon day with icons and style
- Moon phases calendar
json, html, text formats
- Moon in Zodiac
json, html, text formats
- Moon without course
2021-2022 year, json
Example
GET: https://astrolog.life/api/api_get_moon.php?moon_type=X&year=Y&month=M&dot_shift=Z&id=A
Params | Value | |
---|---|---|
moon_type | X | haircut_small or haircut_full |
year | Y | digit (2020 etc.) |
month | M | digit (from 1 until 12) |
dot_shift | Z | Optional, mean shift of color point |
id | A | Required, your api key |
Examples | Link |
---|---|
Sep 2021, small calendar | api_get_moon.php?moon_type=haircut_small&year=2021&month=09&dot_shift=10&id=5fd7d97bb3f26 |
Sep 2021, small calendar and detail for all days | api_get_moon.php?moon_type=haircut_full&year=2021&month=9&dot_shift=10&id=5fd7d97bb3f26 |
GET: https://astrolog.life/api/api_get_moon_day.php?type=[string]&date=[string]&time=[string]&tzone=[string]&ext=[string]&id=[string]
Params | Value | Note |
---|---|---|
type | day |
default Now() |
date | 2021-09-08 |
it's mean 08 Sep 2021, default Now() |
time | 17:43 or 17:43:05 |
default Now() |
tzone | GMT+1 or GMT+5 etc. |
default UCT+3 MSK Russia |
ext | num or html |
default html |
id | A | Optional, your api key |
22
GET: https://astrolog.life/api/api_get_moon_day.php?type=[string]&date=[string]&time=[string]&tzone=[string]&ext=[string]&id=[string]
Examples | Link |
---|---|
Example1 | api_get_moon_day.php?type=now&tzone=GMT+3&ext=num&id=5fd7d97bb3f26 |
Example1 | api_get_moon_day.php?type=now&tzone=GMT+3&ext=html&id=5fd7d97bb3f26 |
Params | Value |
---|---|
type | now |
tzone | GMT+1 or GMT+5 etc., default GMT+3 MSK Russia |
ext | num or html , default html |
id | Optional, your api key |
23
Example
GET: https://astrolog.life/api/api_get_moon_day.php?type=phaselist&date_start=X&date_stop=Y&id=A
Params | Value | |
---|---|---|
date_start | X | format 2020-12-01 |
date_stop | Y | format 2020-12-01 |
with_percent | Z | optional, default 0 , 1 - for show percent of visible |
id | A | Required, your api key |
Examples | Link |
---|---|
Phases Dec 2020 - Jan 2021 | api_get_moon_day.php?type=phaselist&date_start=2020-12-01&date_stop=2021-01-31&id=5fd7d97bb3f26 |
Example
GET: https://astrolog.life/api/api_get_moon.php?moon_type=in_sign&date1=X&date2=Y&id=A
Params | Value | |
---|---|---|
date_start | X | format 2021-9-01 |
date_stop | Y | format 2021-10-01 |
id | A | Optional, your api key |
Examples | Link |
---|---|
Table Jan 2021 | api_get_moon.php?moon_type=in_sign&date1=2021-9-01&date2=2021-11-31 |
Fixed files on Github:
GET: https://github.com/tecspda/astro-widget-api-rus/tree/master/json/moon_no_course
[
{
"year": 2021,
"month": 11,
"day": 1,
"start_gmt3": "2021-11-01 20:00:00 UTC",
"end_gmt3": "2021-11-01 02:11:00 UTC",
"start_format": "2021-11-01T20:00:00",
"end_format": "2021-11-01T02:11:00"
},
{
"year": 2021,
"month": 11,
"day": 4,
"start_gmt3": "2021-11-04 01:32:00 UTC",
"end_gmt3": "2021-11-04 03:52:00 UTC",
"start_format": "2021-11-04T01:32:00",
"end_format": "2021-11-04T03:52:00"
}
]
https://astrolog.life/api
It will take 10 seconds.
Result: 5fd7d962129fb
- Json output for all
- Native html & CSS
- No js, No JQuery etc = no conflict style and engine
- Minimal CSS style (without heavy CSS properties)
Feel free to submit a pull request or an issue!
Note 1: This API is free
Note 2: If the API goes down, please open a issue or comment on existing one with the problem(s) that you are facing. This is the best way to let me know that the API is not working, avoid sending email.
Note 3: You can get key (https://astrolog.life/api) so that we can provide you with great api opportunities in the future