Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the cl-darksky Reference Manual, version 0.1.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 12:12:13 2020 GMT+0.
• Introduction | What cl-darksky is all about | |
• Systems | The systems documentation | |
• Modules | The modules documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
cl-dakrsky allows you to retrieve the weather via latitude and longitude.
Before starting you need specify your API key:
(setf cl-darksky:*api-key* "YOUR_BIG_SECRET")
(cl-darksky:forecast 45.0455 41.9683)
; => (("ozone" . 381.87) ("visibility" . 6.22) ("uvIndex" . 0) ("cloudCover" . 0.92)
; ("windBearing" . 125) ("windGust" . 18.73) ("windSpeed" . 11.24)
; ("pressure" . 1019.32) ("humidity" . 0.89) ("dewPoint" . 32.45)
; ("apparentTemperature" . 27.34) ("temperature" . 35.37)
; ("precipProbability" . 0) ("precipIntensity" . 0)
; ("icon" . "partly-cloudy-night") ("summary" . "Mostly Cloudy")
; ("time" . 1518293286))
(cl-darksky:forecast-hourly 45.0455 41.9683)
; => (("data"
; (("ozone" . 381.93) ("visibility" . 6.22) ("uvIndex" . 0)
; ("cloudCover" . 0.91) ("windBearing" . 126) ("windGust" . 18.69)
; ("windSpeed" . 11.29) ("pressure" . 1019.37) ("humidity" . 0.9)
; ("dewPoint" . 32.63) ("apparentTemperature" . 27.32) ("temperature" . 35.37)
; ("precipProbability" . 0) ("precipIntensity" . 0)
; ("icon" . "partly-cloudy-night") ("summary" . "Mostly Cloudy")
; ("time" . 1518292800))
; (("ozone" . 381.44) ("visibility" . 6.22) ("uvIndex" . 0)
; ("cloudCover" . 0.95) ("windBearing" . 122) ("windGust" . 19)
; ("windSpeed" . 10.88) ("pressure" . 1019.02) ("humidity" . 0.85)
; ("dewPoint" . 31.3) ("apparentTemperature" . 27.51) ("temperature" . 35.38)
; ("precipProbability" . 0) ("precipIntensity" . 0) ("icon" . "cloudy")
; ("summary" . "Overcast") ("time" . 1518296400))
; ...
Now available from Quicklisp
(ql:quickload :cl-darksky)
Copyright (c) 2018 Artemiy Stepanov
Licensed under the BSD 2-clause License.
Next: Modules, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The cl-darksky system |
Artemiy Stepanov
BSD 2-clause
Get weather via Dark Sky
# Cl-Darksky
cl-dakrsky allows you to retrieve the weather via latitude and longitude.
## Usage
Before starting you need specify your API key:
“‘
(setf cl-darksky:*api-key* "YOUR_BIG_SECRET")
“‘
- For currently:
“‘
(cl-darksky:forecast 45.0455 41.9683)
; => (("ozone" . 381.87) ("visibility" . 6.22) ("uvIndex" . 0) ("cloudCover" . 0.92)
; ("windBearing" . 125) ("windGust" . 18.73) ("windSpeed" . 11.24)
; ("pressure" . 1019.32) ("humidity" . 0.89) ("dewPoint" . 32.45)
; ("apparentTemperature" . 27.34) ("temperature" . 35.37)
; ("precipProbability" . 0) ("precipIntensity" . 0)
; ("icon" . "partly-cloudy-night") ("summary" . "Mostly Cloudy")
; ("time" . 1518293286))
“‘
- For hourly:
“‘
(cl-darksky:forecast-hourly 45.0455 41.9683)
; => (("data"
; (("ozone" . 381.93) ("visibility" . 6.22) ("uvIndex" . 0)
; ("cloudCover" . 0.91) ("windBearing" . 126) ("windGust" . 18.69)
; ("windSpeed" . 11.29) ("pressure" . 1019.37) ("humidity" . 0.9)
; ("dewPoint" . 32.63) ("apparentTemperature" . 27.32) ("temperature" . 35.37)
; ("precipProbability" . 0) ("precipIntensity" . 0)
; ("icon" . "partly-cloudy-night") ("summary" . "Mostly Cloudy")
; ("time" . 1518292800))
; (("ozone" . 381.44) ("visibility" . 6.22) ("uvIndex" . 0)
; ("cloudCover" . 0.95) ("windBearing" . 122) ("windGust" . 19)
; ("windSpeed" . 10.88) ("pressure" . 1019.02) ("humidity" . 0.85)
; ("dewPoint" . 31.3) ("apparentTemperature" . 27.51) ("temperature" . 35.38)
; ("precipProbability" . 0) ("precipIntensity" . 0) ("icon" . "cloudy")
; ("summary" . "Overcast") ("time" . 1518296400))
; ...
“‘
## Installation
Now available from [Quicklisp](https://www.quicklisp.org/beta/)
“‘
(ql:quickload :cl-darksky)
“‘
## Requirements
- You need an API key to use it (https://darksky.net/dev/). Don’t worry, you can use it for free.
## Author
- Artemiy Stepanov
## Copyright
Copyright (c) 2018 Artemiy Stepanov
## License
Licensed under the BSD 2-clause License.
0.1.1
cl-darksky.asd (file)
src (module)
Modules are listed depth-first from the system components tree.
• The cl-darksky/src module |
cl-darksky (system)
src/
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The cl-darksky.asd file | ||
• The cl-darksky/src/cl-darksky.lisp file | ||
• The cl-darksky/src/http.lisp file |
Next: The cl-darksky/src/cl-darksky․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
cl-darksky.asd
cl-darksky (system)
Next: The cl-darksky/src/http․lisp file, Previous: The cl-darksky․asd file, Up: Lisp files [Contents][Index]
http.lisp (file)
src (module)
src/cl-darksky.lisp
Previous: The cl-darksky/src/cl-darksky․lisp file, Up: Lisp files [Contents][Index]
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The cl-darksky package | ||
• The cl-darksky.http package |
Next: The cl-darksky․http package, Previous: Packages, Up: Packages [Contents][Index]
cl-darksky.lisp (file)
Previous: The cl-darksky package, Up: Packages [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions |
Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables | ||
• Exported functions |
Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
cl-darksky.lisp (file)
Previous: Exported special variables, Up: Exported definitions [Contents][Index]
cl-darksky.lisp (file)
cl-darksky.lisp (file)
http.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | C F L M |
---|
Jump to: | C F L M |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | F H |
---|
Jump to: | F H |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*api-key* : | Exported special variables | ||
| |||
S | |||
Special Variable, *api-key* : | Exported special variables | ||
|
Jump to: | *
S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C P S |
---|
Jump to: | C P S |
---|