Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junker/geonames
GeoNames API Client for Common Lisp
https://github.com/junker/geonames
common-lisp geonames geonames-api
Last synced: 4 days ago
JSON representation
GeoNames API Client for Common Lisp
- Host: GitHub
- URL: https://github.com/junker/geonames
- Owner: Junker
- License: mit
- Created: 2024-07-07T11:59:14.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-07T14:09:10.000Z (4 months ago)
- Last Synced: 2024-07-10T08:48:01.137Z (4 months ago)
- Topics: common-lisp, geonames, geonames-api
- Language: Common Lisp
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Geonames
GeoNames API Client for Common Lisp
## Warning
This software is still BETA quality. The APIs will be likely to change.
## Installation
This system can be installed from [UltraLisp](https://ultralisp.org/) like this:
```common-lisp
(ql-dist:install-dist "http://dist.ultralisp.org/"
:prompt nil)
(ql:quickload "geonames")
```## Usage
```common-lisp
(setf geonames:*username* "MY-API-USERNAME")(defvar *lat* 47.3)
(defvar *lng* 9)
(geonames:find-nearby-postal-codes :latitude *lat* :longitude *lng* :style :full)
(geonames:postal-code-country-info)
(geonames:find-nearby-postal-codes :postal-code 9011)
(geonames:astergdem *lat* *lng*)
(geonames:country-code *lat* *lng*)
(geonames:timezone *lat* *lng*)
(geonames:country-info :country "DE" :language "FR")
;; etc
```