/geonames

GeoNames API Client for Common Lisp

Primary LanguageCommon LispMIT LicenseMIT

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 like this:

(ql-dist:install-dist "http://dist.ultralisp.org/"
                      :prompt nil)
(ql:quickload "geonames")

Usage

(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