Developers
WhatsNew Feed

GET Whatsnew

Returns a collection of new articles on AviaMagazine.com

Resource Url: http://www.aviamagazine.com/whatsnew.json.ashx

Parameters:

Response format : JSON

HTTP methods : GET

Response object : news

Rate limit : No

Api version : 1.0

Object Description
count
optional
Specifies the number of whatsnew items to retrieve. Default is five. Example: 2
priority_sort
optional
Specifies the sort method of the response set. Default sort is on publication date. Priority sort set to true, will sort the messages on priority set by AviaMagazine. Default is false. Example: true
callback
optional
If supplied, the response will use the JSONP format with a callback of the given name.

Request example:

GET http://www.aviamagazine.com/whatsnew.json.ashx?count=2&priority_sort=false

Response example:

                    {
                        "about": "AviaMagazine Whatsnew",
                        "support": "http://www.aviamagazine.com/about/developer.aspx",
                        "version": "1.0",
                        "count": "2",
                        "priority_sort": "false",
                        "created": "2012-12-06T20:49:53.3854604+01:00",
                        "news": [
                            {
                                "title": "Royal International Air Tattoo 2012",
                                "body": "The annual Royal International Air Tattoo (RIAT) is one of the biggest military air shows in the world held at RAF Fairford. Aviamagazine’s correspondent Leo Hoogerbrugge visited this year’s show on Sunday 8 July and departure, the next day.",
                                "content_type": "Show Report",
                                "publish_date": "201207180000",
                                "page_link": "http://www.aviamagazine.com/gallery/album.aspx?id=46",
                                "photo_url": "http://www.aviamagazine.com/photohandler.ashx?id=3551592708"
                            },
                            {
                                "title": "Moscow Tour 2011, Episode 1",
                                "body": "August 2011 we headed to Moscow for an aviation tour around the city and a visit to the MAKS air show. Since Russia isnt fully open for spotters we joined an organised tour with Aeroprints. With 15 years of experience they have lots of contacts, very useful to visit restricted areas. Although we visited both civil and military sites, the main focus of this article is on civil aviation.",
                                "content_type": "Trip Report",
                                "publish_date": "201206060000",
                                "page_link": "http://www.aviamagazine.com/reports/trip/moscow2011/index.aspx",
                                "photo_url": "http://www.aviamagazine.com/photohandler.ashx?id=3547478019"
                            }
                        ]
                    }
                
Comments
You need to be logged in as Aviamagazine member or connected with Facebook to post a comment.