- Joined
- Apr 14, 2008
- Messages
- 221
- Reaction score
- 2
- Points
- 18
Hey, so I’m looking for either a 100% free unlimited astrology API or I’m looking to create one myself in PHP. I’ve looked around and all the existing ones I’ve found have limits on the free tier. If anyone knows of a free one let me know so I don’t need to develop this. Otherwise…
The main function I’m trying to accomplish is to get get the constellation each planet is in for any given date/time.
I’m pretty good dealing with complex orbital equations back when i was developing orbiter addons, but it’s been like over 10 years and I’m a bit rusty so I think I need a refresher.
So if I wanted to figure out which zodiac constellation the Sun is in right now, what data and function would I need?
Now what if I wanted to calculate which zodiac constellation Jupiter is in last Wednesday at 8pm GMT?
How about which zodiac constellation the Moon was in on August 2, 1981 at 11:53 PM EDT when viewed from Portland, Maine, USA?
What about which zodiac constellation is rising on the eastern Horizon at that same time?
I’m guessing I need some basic data set that defines the orbital elements of each celestial body, then some function to derive the position based on a current date…. Then figure out earths position and rotation, and do the maths, etc.
Any insights greatly appreciated
The main function I’m trying to accomplish is to get get the constellation each planet is in for any given date/time.
I’m pretty good dealing with complex orbital equations back when i was developing orbiter addons, but it’s been like over 10 years and I’m a bit rusty so I think I need a refresher.
So if I wanted to figure out which zodiac constellation the Sun is in right now, what data and function would I need?
Now what if I wanted to calculate which zodiac constellation Jupiter is in last Wednesday at 8pm GMT?
How about which zodiac constellation the Moon was in on August 2, 1981 at 11:53 PM EDT when viewed from Portland, Maine, USA?
What about which zodiac constellation is rising on the eastern Horizon at that same time?
I’m guessing I need some basic data set that defines the orbital elements of each celestial body, then some function to derive the position based on a current date…. Then figure out earths position and rotation, and do the maths, etc.
Any insights greatly appreciated