{"repo":"noandrea/geo2tz","free":true,"listed":false,"github":"https://github.com/noandrea/geo2tz","clone":"git clone https://github.com/noandrea/geo2tz.git","description":"A self-hostable REST-like API to get the time zone from geo coordinates","language":"Go","stars":98,"topics":["geo","timezones","api","rest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Geo2Tz A self-hostable service to get the timezone given geo-coordinates (lat/lng) Timezone data comes from github.com/evansiroky/timezone-boundary-builder. Maturity Level This project is considered mature and stable, having undergone extensive testing and refinement over time. It is now in a state where it can be reliably used in production environments. The badge below shows the number of Docker pulls for the project: Contributing We value your feedback and contributions! If you encounter any bugs or have ideas for new features, please don't hesitate to open an issue. Your input is crucial in helping us improve and evolve the project. Motivations Geo-coordinates can be sensitive information. This project provides a privacy-friendly, self-hosted solution that ensures coordinates are not leaked to third-party services. API The service exposes two endpoints: one to look up the timezone for a pair of coordinates, and one to report the version of the timezone database in use. Timezone lookup Returns a JSON reply ( http/200 ), for example: On invalid input it returns a 4xx response, for example: Database version The version of the database in use is exposed at /tz/version : Coordinates are decimal degrees in the ranges [-90, 90] for latitude and [-180, 180] for longitude. Authorization Geo2Tz supports a basic token authorization mechanism, if the configuration value for web.auth token value is a non-empty string, geo2tz will check the query parameter value to authorize incoming r","default_branch":null,"files":null,"tree":[],"storefront":"/r/noandrea","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/noandrea/geo2tz/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}