Git Product home page Git Product logo

imgapi's Introduction

imgapi

my-img-api.herokuapp.com/api/imagesearch/< searchterm >?offset=< number of ignored results(optional)>

example: my-img-api.herokuapp.com/api/imagesearch/puppies?offset=5

Gives you a json of puppies ignoring the first 5 results.

{
  "url":	"http://www.bing.com/cr?IG=A4364DB3841E4B51B1C25E8DB5A4D61E&CID=0A0E9847C93469790B22923DC8D36809&rd=1&h=yKCFhrVjix83X1e8cLeHaQVZgvzSdPZNQT-OwzYbRLE&v=1&r=http%3a%2f%2f2.bp.blogspot.com%2f-CaGpPx6iu5c%2fTtcSbSixNrI%2fAAAAAAAADic%2fJmQyo3H_DdM%2fs1600%2fCute-White-Puppies-04.jpg&p=DevEx,5008.1",
 "snippet":	"Cute White Puppies | In Photos | Funny And Cute Animals",
 "thumbnail":	"https://tse2.mm.bing.net/th?id=OIP.CXOYMqHOi21-BYu5AEkCaQEgDY&pid=Api",
  "context":	"cutefunnyanimal.blogspot.com/2011/11/cute-white-puppies-in-photos.html"
}

my-img-api.herokuapp.com/api/latest/imagesearch

Returns a json of the last 10 searches:

{
  "term":	"puppies",
  "when":	"2017-05-06T22:49:50.453Z"
}

imgapi's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.