Giter VIP home page Giter VIP logo

puppies's Introduction

Puppies

Puppies is a microservice for fetching puppy pictures for you to use as placeholder images in your app.

Rationale

I really like dogs. Dogs are great. And puppies are adorable. So when I was working on a large website for a client, I would wind up using random pictures of dogs from Google Images as placeholders. I always liked this more than static placeholder boxes since we could approximate color, so I made a simple microservice to further simplify this process.

Endpoints

/

Returns a JSON array of images, i.e.

[
  {"type":"image/jpeg",
   "width":480,
   "height":360,
   "size":19463,
   "url":"https://i.ytimg.com/vi/mRf3-JkwqfU/hqdefault.jpg",
   "thumbnail": {"url":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQihVZOhZZ73-ePag8fgdTAV-8Gf-9xchf2e8BrgfBCGySVDfxe_rkFkyZX",
                 "width":129,
                 "height":97
                },
   "description":"Funny Puppies And Cute Puppy Videos Compilation 2016 [BEST OF ...",
   "parentPage":"https://www.youtube.com/watch?v=mRf3-JkwqfU"
  },
...]

Example Usage

See the Codesandbox for usage

puppies's People

Stargazers

 avatar

Watchers

 avatar  avatar

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.