Want to study about the moon path

OpenStreet have an API that allows to extract all kinds of datas from their database.

json - Getting all cities in a specific country using OpenStreetMap - Stack Overflow

openstreetmap - Getting full list of cities and regions from OSM - Geographic Information Systems Stack Exchange

Pyephem looks interesting but the whole subject isn’t important enough for me to grapple with installation issues and learning how to use it.