|
68 | 68 |
|
69 | 69 | The `key` value is required for all calls. You can leave it as `DEMO_KEY` and the functions will still work as intended, but the API call limitations will be stricter. Otherwise, request a free API code from NASA's website and use that as the key value (recommended).
|
70 | 70 |
|
| 71 | + Currently, Celestial Bodies has built-in functionality for:<br> |
| 72 | + <a href="#apod">Astronomy Image of the Day</a><br> |
| 73 | + <a href="#asteroids">Near Earth Orbit Web Service</a><br> |
| 74 | + <a href="#donki">Space Weather Database of Notifications, Knowledge, and Information (DONKI)</a><br> |
| 75 | + <a href="#earth">Earth - Landsat Imagery</a><br> |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
71 | 81 | #### APOD
|
72 | 82 | The `apod()` function is used to leverage the Astronomy Picture of the Day API.
|
73 | 83 |
|
|
96 | 106 |
|
97 | 107 |
|
98 | 108 |
|
| 109 | + |
| 110 | + |
99 | 111 | #### Asteroids
|
100 | 112 | The `asteroids()` function provides access to NASA's Near Earth Object Web Service. This call has three separate modes - ``feed``, ``lookup``, and ``browse``.
|
101 | 113 |
|
|
146 | 158 | });
|
147 | 159 | ```
|
148 | 160 |
|
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
149 | 165 | #### DONKI
|
150 | 166 | The `donki()` function provides access to the Space Weather Database of Notifications, Knowledge, and Information (DONKI). This API is particularly useful for space weather forecasters, scientists, and the general space science community.
|
151 | 167 |
|
|
157 | 173 |
|
158 | 174 | The `start_date` and `end_date` parameters are optional, and if omitted from the payload the request will default to pulling the last 30 days worth of data.
|
159 | 175 |
|
160 |
| - |
161 |
| - ```js |
| 176 | + ```js |
162 | 177 | const payload = {
|
163 | 178 | start_date: '2021-01-01', // optional //
|
164 | 179 | end_date: '2021-01-02', // optional //
|
|
171 | 186 | });
|
172 | 187 | ```
|
173 | 188 |
|
| 189 | + ##### Coronal Mass Ejection Analysis (CME+) |
| 190 | + |
| 191 | + ##### Geomagnetic Storm (GST) |
| 192 | + |
| 193 | + ##### Interplanetary Shock (IPS) |
| 194 | + |
| 195 | + ##### Solar Flare (FLR) |
| 196 | + |
| 197 | + ##### Solar Energetic Particle (SEP) |
| 198 | + |
| 199 | + ##### Magnetopause Crossing (MPC) |
| 200 | + |
| 201 | + ##### Radiation Belt Enhancement (RBE) |
| 202 | + |
| 203 | + ##### High Speed Stream (HSS) |
| 204 | + |
| 205 | + ##### WSA+EnlilSimulation (WSA) |
| 206 | + |
| 207 | + ##### Notifications |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + #### Earth |
| 212 | + |
| 213 | + The `earth()` function is designed to give you an easy to use taste of what Landsat imagery data can provide. There are two different types for this API - `imagery` and `assets` - which serve slightly different purposes. |
| 214 | + |
| 215 | + ##### Imagery |
| 216 | + |
| 217 | + This endpoint retrieves the Landsat 8 image for the supplied location and date. |
| 218 | + |
| 219 | + ##### Assets |
| 220 | + |
| 221 | + This endpoint retrieves the date-times and asset names for closest available imagery for a supplied location and date. |
174 | 222 |
|
175 | 223 | ## Contributing
|
176 | 224 |
|
|
183 | 231 |
|
184 | 232 | ##### Misc. Assets
|
185 | 233 | <a href="https://looka.com/">Looka</a>
|
186 |
| - |
187 |
| - ## Bonus |
188 |
| - |
189 |
| - Please :star: the project if you enjoy it - much appreciated! |
|
0 commit comments