Skip to content

Instantly share code, notes, and snippets.

@dgreenfield0
Created September 2, 2015 05:51
Show Gist options
  • Save dgreenfield0/c75ce9ceab4d913d9ddc to your computer and use it in GitHub Desktop.
Save dgreenfield0/c75ce9ceab4d913d9ddc to your computer and use it in GitHub Desktop.
Neows NASA Api submission
<!-- API Title as it will appear in the left nav table of contents -->
<h1 id="your_api_id">NeoWs</h1>
<!-- provide a background and overview of your API -->
<p>
NeoWs - (Near Earth Object Web Service) is a web service for near earth objects (currently focused on asteroids). All the base data sets are from the NASA JPL Asteroid team.
NeoWs is a Hypermedia RESTful web service, allowing a user to search for asteroids within a date range, or for a specific asteroids details.
In future updates, a user will be able to search based on all facets of an asteroids data from its absolute magnitude, close approach dates,
to orbital data such as eccentricity.
</p>
<h3 id="http-request">HTTP Request(s)</h3>
<p>
Example of retrieving asteroid data for Asteroid (2015 NA14)
<code class="prettyprint">
GET http://www.neowsapp.com/rest/v1/neo/3724111
</code>
Example of retrieving asteroid data for asteroids making their closest approach to Earth on 2015-09-01
<code class="prettyprint">
GET http://www.neowsapp.com/rest/v1/feed?start_date=2015-09-01&end_date=2015-09-01
</code>
</p>
<!-- Make an example GET call to see your API in action, use DEMO_KEY -->
<h3 id="example-query">Example query</h3>
<p>
Example of retrieving asteroid data for Asteroid (2015 NA14)
<a href=" http://www.neowsapp.com/rest/v1/neo/3724111">
<code class="prettyprint">
http://www.neowsapp.com/rest/v1/neo/3724111
</code>
</a>
</p>
<p>
Example of retrieving asteroid data for asteroids making their closest approach to Earth on 2015-09-01
<a href="http://www.neowsapp.com/rest/v1/feed?start_date=2015-09-01&end_date=2015-09-01">
<code class="prettyprint">
http://www.neowsapp.com/rest/v1/feed?start_date=2015-09-01&end_date=2015-09-01
</code>
</a>
</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment