{"id":780,"date":"2016-12-16T11:50:32","date_gmt":"2016-12-16T11:50:32","guid":{"rendered":"https:\/\/www.autorouter.eu\/wiki\/?page_id=780"},"modified":"2019-02-01T09:26:03","modified_gmt":"2019-02-01T09:26:03","slug":"weather","status":"publish","type":"page","link":"https:\/\/www.autorouter.aero\/wiki\/api\/weather\/","title":{"rendered":"Weather"},"content":{"rendered":"<p>autorouter provides a multitude of weather related information. Currently not all of the interfaces are documented and therefore considered to be public interfaces. Should you require additional functionality not documented here, please <a href=\"\/support\">get in touch<\/a> with us.<\/p>\n<h1>METAR\/TAF<\/h1>\n<p>To query the latest METAR and TAF of an aerodrome, perform<\/p>\n<pre>HTTP GET https:\/\/api.autorouter.aero\/v1.0\/met\/metartaf\/&lt;icao&gt;<\/pre>\n<p>passing the ICAO ID of the airport. The result will be a JSON similar to this<\/p>\n<pre>{\n  \"metar\": \"EDDS 170820Z 21011KT 170V240 9999 FEW024 SCT060 BKN110 13\\\/08 Q1015 NOSIG\",\n  \"taf\":\"TAF EDDS 170500Z 1706\\\/1806 21010KT 9999 BKN030 PROB30 TEMPO 1709\\\/1806 23015G25KT\"\n}<\/pre>\n<p>Should a METAR and\/or TAF be unavailable for the station, null will be returned.<\/p>\n<h1>GRAMET<\/h1>\n<p>A GRAMET can be requested individually by issuing<\/p>\n<pre>HTTP GET https:\/\/api.autorouter.aero\/v1.0\/met\/gramet<\/pre>\n<p>And passing a list of GET options:<\/p>\n<ul>\n<li><strong>fpl<\/strong><br \/>\nAn ICAO flight plan string that is parsed and used as the route and source for departure time, altitudes and flight duration.<\/li>\n<li><strong>waypoints<\/strong><br \/>\nIn case fpl is not specified, this parameter must be given with a space separated list of waypoints that are resolved using the aviation database. When passing waypoints, additional parameters for the departure time, altitude and duration are required.<\/li>\n<li><strong>departuretime<\/strong><br \/>\nUnix timestamp in seconds of the off block time.<\/li>\n<li><strong>totaleet<\/strong><br \/>\nNumber of seconds giving the total duration of the flight.<\/li>\n<li><strong>altitude<\/strong><br \/>\nAltitude in feet of the cruise.<\/li>\n<li><strong>distanceperpage<\/strong><br \/>\nMaximum distance in NM that is rendered on one page, defaults to 9999 NM.<\/li>\n<li><strong>format<\/strong><br \/>\nThe data format to return, defaults to &#8220;pdf&#8221;. The other supported value is &#8220;png&#8221;.<\/li>\n<\/ul>\n<p>A file is then returned in case of success. The call is synchronous.<\/p>\n<h1>GFS Model Date<\/h1>\n<p>To request the most recent GFS (global forecasting system) model timestamp, perform<\/p>\n<pre>HTTP GET https:\/\/api.autorouter.aero\/v1.0\/met\/modeldate<\/pre>\n<p>The result will be a JSON structure looking like this:<\/p>\n<pre>{\n  \"gfs\": \"2016121606\"\n}\n<\/pre>\n<p>The last two digits denote the model run (00, 06, 12 or 18).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>autorouter provides a multitude of weather related information. Currently not all of the interfaces are documented and therefore considered to be public interfaces. Should you require additional functionality not documented here, please get in touch with us. METAR\/TAF To query the latest METAR and TAF of an aerodrome, perform HTTP GET https:\/\/api.autorouter.aero\/v1.0\/met\/metartaf\/&lt;icao&gt; passing the ICAO [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-780","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/pages\/780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/comments?post=780"}],"version-history":[{"count":4,"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/pages\/780\/revisions"}],"predecessor-version":[{"id":975,"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/pages\/780\/revisions\/975"}],"up":[{"embeddable":true,"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/www.autorouter.aero\/wiki\/wp-json\/wp\/v2\/media?parent=780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}