Monday, April 11, 2016

Exploring the interesting stuff via Flickr API

Today, i set out to make a page to see random flickr images
https://www.flickr.com/services/api/flickr.interestingness.getList.html
Nice API, it worked in a matter of seconds, i could get it done in no time.

and came across Flickr Pandas,
https://www.flickr.com/services/api/flickr.panda.getList.html

Fired up Postman,
Request URL: https://api.flickr.com/services/rest/?api_key=*&method=flickr.panda.getList&format=json

Response JSON:
{
  "pandas": {
    "panda": [
      {
        "_content": "ling ling"
      },
      {
        "_content": "hsing hsing"
      },
      {
        "_content": "wang wang"
      }
    ]
  },
  "stat": "ok"
}

If XML


  ling ling
  hsing hsing
  wang wang

There are 3 Flickr Pandas:

  1. ling ling - ucumari
  2. hsing hsing - lynnehicks
  3. wang wang - perfectpandas

Read more about them here!
I'll explore more soon with null and echo
before i can get ot using
https://www.flickr.com/services/api/flickr.stats.getPopularPhotos.html

No comments:

Post a Comment

Going one step further with Kotlin & gRPC

Recently, I tried using Quarkus with Kotlin for grpc. I have worked with grpc for communication between microservices in Java & Golang. ...