GithubHelp home page GithubHelp logo

maxhlystov / imagesearchengine Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 49 KB

Gives links to images for specified search text

License: GNU General Public License v3.0

JavaScript 74.18% HTML 25.82%

imagesearchengine's Introduction

ImageSearchEngine

####User Stories

  • I can get the image URLs, alt text and page urls for a set of images relating to a given search string.
  • I can paginate through the responses by adding a ?offset=2 parameter to the URL.
  • I can get a list of the most recently submitted search strings.

####Format of the search URL:
https://img-finder.herokuapp.com/img/text to search in url encoding [?offset=number of page with result] [&size=number of search results per page]

####Format of recent requests:
https://img-finder.herokuapp.com/recent

####Expamle of app with it:
Some cats

####Examples of links:

Example output for cearch results:

  [{
	"url" : "https://i.ytimg.com/vi/tRzXptpC3_U/hqdefault.jpg",
	"snippet" : "funny lolcats and loldogs",
	"thumbnail" : "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcS_dKvb6pMA0bod00g0v1Bk3YakSY7H4HYwpu268AqUK8pPiSdlUh9pEnYh",
	"context" : "https://www.youtube.com/watch?v=tRzXptpC3_U"
   }, {
	"url" : "https://i.ytimg.com/vi/dWpGC6Fg0io/hqdefault.jpg",
	"snippet" : "... LOLCats Funny Cats",
	"thumbnail" : "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRNMCLSl2dHm87xTU6uMFZD0Jym2E-4lAaSdJzfc_6OkeB_CdF1vjgZZsR2",
	"context" : "https://www.youtube.com/watch?v=dWpGC6Fg0io"
  }]

Example output for recent searches:

  [{
	"term" : "lolcats funny",
	"when" : "2016-07-23T12:25:03.580Z"
   }, {
	"term" : "lolcats funny",
	"when" : "2016-07-23T11:43:45.083Z"
 }]

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.