Test Mode 1

The parameter 'test' by itself parrots that value back. This can be used to verify that you are able to successfully connect to the API.

Example Link:

http://api.parfait.snarkybox.com/nasa?test=true

What that link returns will look like this if viewed in a browser:

true

Test Mode 2

Adding the parameter 'feed' will dump the NASA feed xml sent by NASA, plus parrot back a table of all the possible parameters and their current values in a simple HTML web page. Information on how to find the available 'feed' values can be found here.

Example Link:

http://api.parfait.snarkybox.com/nasa?test=true&feed=breaking_news

What that link returns will look like this if viewed in a browser:


<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" version="2.0" xml:base="http://www.nasa.gov/">
  <channel>
    <title>NASA Breaking News</title>
    <description>A RSS news feed containing the latest NASA news articles and press releases.</description>
    <link>http://www.nasa.gov/</link>
    <atom:link rel="self" href="http://www.nasa.gov/rss/dyn/breaking_news.rss"/>
    <language>en-us</language>
    <managingEditor>jim.wilson@nasa.gov</managingEditor>
    <webMaster>brian.dunbar@nasa.gov</webMaster>
    <docs>http://blogs.harvard.edu/tech/rss</docs>
    <item>
      <title>NASA Television to Provide Coverage of European Mission Comet Landing</title>
      <link>http://www.nasa.gov/press/2014/november/nasa-television-to-provide-coverage-of-european-mission-comet-landing</link>
      <description>NASA Television and the agency’s website will provide live coverage from 9-11:30 a.m. EST (6-8:30 a.m. PST) of the European Space Agency (ESA) Rosetta mission’s scheduled landing of a probe on a comet on Wednesday, Nov. 12.</description>
      <guid isPermaLink="false">http://www.nasa.gov/press/2014/november/nasa-television-to-provide-coverage-of-european-mission-comet-landing</guid>
      <pubDate>Fri, 07 Nov 2014 12:00:00 EDT</pubDate>
      <source url="http://www.nasa.gov/rss/dyn/breaking_news.rss">NASA Breaking News</source>
    </item>
    <item>
      <title>Mars Spacecraft Reveal Comet Flyby Effects on Martian Atmosphere</title>
      <link>http://www.nasa.gov/press/2014/november/mars-spacecraft-reveal-comet-flyby-effects-on-martian-atmosphere</link>
      <description>Two NASA and one European spacecraft that obtained the first up-close observations of a comet flyby of Mars on Oct. 19, have gathered new information about the basic properties of the comet’s nucleus and directly detected the effects on the Martian atmosphere.</description>
      <guid isPermaLink="false">http://www.nasa.gov/press/2014/november/mars-spacecraft-reveal-comet-flyby-effects-on-martian-atmosphere</guid>
      <pubDate>Fri, 07 Nov 2014 12:00:00 EDT</pubDate>
      <source url="http://www.nasa.gov/rss/dyn/breaking_news.rss">NASA Breaking News</source>
    </item>
  </channel>
</rss>

http://feeds.nasa.com/nasa/breaking_news?format=xml

feed layer items test version
breaking_news     true 2017.10.08.24