Skip to content

Instantly share code, notes, and snippets.

@paddycakes
Created December 1, 2013 00:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paddycakes/7727264 to your computer and use it in GitHub Desktop.
Save paddycakes/7727264 to your computer and use it in GitHub Desktop.
Interrogate the openweathermap.org REST API using Clojure
;; http://openweathermap.org/API
;; Free, JSON api that provides current weather data and forecasts.
;; How many cities called London are there? (hint: find?q=London)
;; What are the lat/long positions of all the Londons?
;; What is the forecasted average temperature for London, UK for the last 5 days? (hint: forecast?q=London)
;; What is the forecasted averages temperature of London, UK for the last 10 days?
;; How many of the next 10 days is it forecasted to be cloudy?
;; How many of the next 10 days is it forecasted not to be cloudy?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment