flickr.interestingness.getList - Response Message Sample

This section provides a request message sample of flickr.interestingness.getList Web service.

The response of flickr.interestingness.getList Web service can be delivered in "rest", "json" or "php_serial" message format. It contains a list of interesting photos of the most recent day.

After running the "Request 1" sample in the previous tutorial, look at the response window. You will see the response message of "getList" in XML format returned with a list of identifications of current top pictures:

<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<photos page="1" pages="5" perpage="100" total="500">
 <photo id="20499082950" owner="32553078@N08" secret="c140ec3754" 
  server="739" farm="1" title="Mebourne Skyline from Southbank" 
  ispublic="1" isfriend="0" isfamily="0" />
 <photo id="20488803790" owner="30125007@N03" secret="126f173415" 
  server="5747" farm="6" title="Radiance" ispublic="1" isfriend="0" 
  isfamily="0" />
 <photo id="20678745065" owner="21692577@N02" secret="d12cdeb62f" 
  server="5811" farm="6" title="Sunset at Grande-Rivière" 
  ispublic="1" isfriend="0" isfamily="0" />
 <photo id="20644620656" owner="66541047@N03" secret="d833195be1" 
  server="637" farm="1" title="A balmy summer's eve on the lake" 
  ispublic="1" isfriend="0" isfamily="0" />
 <photo id="20047305764" owner="125053471@N07" secret="164008e112" 
  server="5728" farm="6" title="Knee Deep! Sort of!" ispublic="1" 
  isfriend="0" isfamily="0" />
 ...
</photos>
</rsp>

The response tells us that there are 500 interesting photos today. The response only provided identifications of first 100 of them.

Click the "Raw" vertical tab. You will see the entire HTTP response including header lines:

HTTP/1.1 200 OK
Date: Sun, 1 Feb 2015 19:30:50 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 4608
P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="..."
X-Robots-Tag: noindex
Cache-Control: private
X-Served-By: www344.flickr.bf1.yahoo.com
Vary: Accept-Encoding
Content-Encoding: gzip
Age: 0
Via: http/1.1 fts121.flickr.bf1.yahoo.com (ApacheTrafficServer [cMsSf ]), 
   http/1.1 r01.ycpi.dcb.yahoo.net (ApacheTrafficServer [cMsSf ])
Server: ATS
Connection: keep-alive

(response XML...)

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

 References

 PDF Printing Version