flickr.interestingness.getList - Response in JSON Format

This section provides a tutorial example on obtaining today's interesting photos from Flickr in JSON (JavaScript Object Notation) format using the flickr.interestingness.getList Web service

If you want to see response in JSON (JavaScript Object Notation) format, change the "format" parameter with "json" as the value and run it again. You will get the following request:

   &api_key=edf755126da6b8b7f981a9ec451c5b9b HTTP/1.1
Accept-Encoding: gzip,deflate
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

Here is the response message in JSON format from the above request:

HTTP/1.1 200 OK
Date: Sun, 1 Feb 2015 19:30:50 GMT
Content-Type: text/javascript; charset=utf-8
Content-Length: 4568
P3P: policyref="", CP="CAO DSP ..."
Cache-Control: private
Vary: Accept-Encoding
Content-Encoding: gzip
Age: 0
Via: http/1.1 (ApacheTrafficServer [cMsSf ]), 
   http/1.1 (ApacheTrafficServer [cMsSf ])
Server: ATS
Connection: keep-alive

{"photos":{"page":1, "pages":5, "perpage":100, "total":500, "photo":[
   {"id":"5987368700", "owner":"22446773@N08", "secret":"816d46cf22", 
      "server":"6143", "farm":7, "title":"Summer's calling", "ispublic":1, 
      "isfriend":0, "isfamily":0}, 
   {"id":"5986995963", "owner":"35517027@N00", "secret":"9b1784c15b", 
      "server":"6027", "farm":7, 
      "title":"Panoramatic view from Edelweiss Spitze", 
      "ispublic":1, "isfriend":0, "isfamily":0}, 
   {"id":"5987431178", "owner":"46098470@N05", "secret":"fd071ec02c", 
      "server":"6002", "farm":7, "title":"Morning love", "ispublic":1, 
      "isfriend":0, "isfamily":0}, 
   {"id":"5986552889", "owner":"8748614@N05", "secret":"000904a463", 
      "server":"6143", "farm":7, "title":"lavanda in black", "ispublic":1, 
      "isfriend":0, "isfamily":0}, 
   {"id":"5986629707", "owner":"25390104@N05", "secret":"65734b1310", 
      "server":"6022", "farm":7, "title":"Ruben Toucido - Galineiro - Vigo", 
      "ispublic":1, "isfriend":0, "isfamily":0}, 
   {"id":"5987985960", "owner":"25428616@N07", "secret":"ab1c292008", 
      "server":"6016", "farm":7, "title":"Old Faithful", "ispublic":1, 
      "isfriend":0, "isfamily":0}, 
   {"id":"5987223164", "owner":"35556844@N05", "secret":"a81ddb7313", 
      "server":"6123", "farm":7, "title":"Good Day Sunshine", "ispublic":1, 
      "isfriend":0, "isfamily":0}, 
]}, "stat":"ok"})

Last update: 2015.

Table of Contents

 About This Book

 SoapUI - Web Service Testing Tool

 SOAP Web Service and SoapUI

 REST Web Service and SoapUI

 GetCountries - Get All Countries and Territories

 GetCurrencies - Get Currencies from All Countries and Territories

 GetGMTbyCountry - Get GMT Information of a Given Country

 GetISD - Get ISD Phone Code of a Given Country

 GetCitiesByCountry - Get Cities by Country

 LatLonListCityNames - Return Latitudes and Longitudes of US Cities

 GetInfoByState - Get ZIP Codes of a Given US State

 GetAirportInformationByCountry - Get Airport Code by Country

 GetGeoIP - Get Country by IP Address

 ConvertTemp - Convert Temperature Unit

 ChangeLengthUnit - Convert Length Unit

 ConvertWeight - Convert Weight Unit

 ChangeAreaUnit - Convert Area Unit

 Code39 - Generate Bar Code Images in Code 39 Format

 GenerateBarCode - Generate Bar Code Images

 GetMortgagePayment - Calculate Mortgage Payment

 ConversionRate - Get Currency Exchange Rate

 GetQuote - Get Stock Quote

 getTime - Get the Current Time

 GetSunSetRiseTime - Get Sunrise and Sunset Time

 GetWeatherByZipCode - Get Weather by ZIP Code in US

 NDFDgenByDay - US Weather Forecast by Day

 NDFDgen - US-Weather Forecast for a Single Location

 questionSearch - Search Yahoo! Questions and Answers

flickr.interestingness.getList - Get Interesting Photos

 flickr.interestingness.getList - Usage Description

 flickr.interestingness.getList - HTTP Request Sample

 flickr.interestingness.getList - Response Message Sample

flickr.interestingness.getList - Response in JSON Format

 Constructing Image Source URL on Flickr

 Flickr Image Source URLs for Different Sizes

 Hotwire - Get Travel Ticker Deals

 Outdated Tutorials


 PDF Printing Version