{"repo":"Aternus/geonames-client","free":true,"listed":false,"github":"https://github.com/Aternus/geonames-client","clone":"git clone https://github.com/Aternus/geonames-client.git","description":"GeoNames API Client","language":"PHP","stars":35,"topics":["geonames","api","geographical","database","countries","languages","iso-3166","iso-639-1"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"GeoNames Client A GeoNames API Client for PHP. Install with confidence 🛡️ Supported OS: Linux, macOS and Windows. Supported PHP versions: 7.2 and up. - Quick Start - Why? - Installation - Other Useful Libraries - License - Credits Quick Start An overview of available API parameters for each endpoint is available here. Client Options Supported client options: 1. username : GeoNames username. 2. token ?: GeoNames token (i.e. premium user key). 3. api url ?: URL of the GeoNames web service. 4. connect timeout ?: HTTP Client connection timeout. The number of seconds to wait while trying to connect to a server (default 0 , wait indefinitely). 5. fallback api url : COMING SOON. 6. fallback api url trigger count : COMING SOON. Example: Providing options during instantiation Example: Changing options during runtime Why? This library will allow you to get better insights into the world. As a developer and a multilingual speaker I've always felt that localization was put on last priority since it was so time-consuming and error-prone. Getting statistics for each country is a painful process that requires understanding the different ISO standards, and even then you're still left to piece the puzzle together yourself. Luckily, GeoNames have been collecting statistical data about the world for the past few decades and offers that data via their API. The aim of this library is to provide a single source of truth for country (ISO-3166), language (ISO-639-1), and other locale related statis","default_branch":null,"files":null,"tree":[],"storefront":"/r/Aternus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Aternus/geonames-client/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."}