summary refs log tree commit diff stats
path: root/README.org
diff options
context:
space:
mode:
authorAndinus <andinus@inventati.org>2020-03-14 19:10:01 +0530
committerAndinus <andinus@inventati.org>2020-03-14 19:10:01 +0530
commit50871fcd3f7698b5d3b68518aea12d31533c5c20 (patch)
treec547b1932a3422e5372d4b4f422d4628000b6cbb /README.org
parenta7e66bc241524caf1accf02966c76f436fa19210 (diff)
downloadcetus-50871fcd3f7698b5d3b68518aea12d31533c5c20.tar.gz
Add cetus-nasa program v0.4.0
cetus-nasa uses NASA's API to get Astronomy Picture of the Day.
Diffstat (limited to 'README.org')
-rw-r--r--README.org31
1 files changed, 31 insertions, 0 deletions
diff --git a/README.org b/README.org
index 9363c21..9985136 100644
--- a/README.org
+++ b/README.org
@@ -7,6 +7,37 @@ sources for fetching the background.
 
 *Dependency*: [[https://feh.finalrewind.org/][feh]]
 
+* NASA Astronomy Picture of the Day
+cetus-nasa uses NASA's API to get the Astronomy Picture of the Day.
+** Features
+- set APOD as background
+- fetch information on APOD
+- choose custom date
+- choose date randomly
+** Examples
+#+BEGIN_SRC sh
+# set currently APOD as background
+cetus-nasa
+
+# set date randomly
+cetus-nasa -random
+
+# set 2020-01-05 APOD as background
+cetus-nasa -date 2020-01-05
+
+# change api endpoint & api key
+cetus-nasa -api https://api.nasa.gov/planetary/apod \
+           -api-key DEMO_KEY
+
+# don't set background, just fetch information
+cetus-nasa -fetch-only
+
+# don't output anything
+cetus-nasa -quiet
+
+# don't set background, just fetch & don't output anything
+cetus-nasa -quiet -fetch-only # why would anyone do this?
+#+END_SRC
 * Demo
 I just run some cetus commands on my computer, nothing fancy. I'll make better
 demo videos someday.