TheCatAPI helper
This node module provides you some help so you can enjoy cats.
Installation
npm install thecatapi-helper --save
linkbuilder
linkbuilder(category, api_key, type = "jpg", size = "full")
category
See full list of category here: http://thecatapi.com/api/categories/list
example: "boxes" to show cat in the box
api_key Get you API key here: http://thecatapi.com/api-key-registration.html
type Type of file which you would like TheCatAPI to give you. ("png", "jpg", "gif")
size File size. ("small", "med", "full").
Example
var thecatapi = // just an simple link with no api, no argumentvar simpleLink = thecatapiconsole // with category and apivar normalLink = thecatapiconsole // link with category, api, file type ,size,var customizeLink1 = thecatapivar customizeLink2 = thecatapivar customizeLink3 = thecatapiconsoleconsoleconsole
Disclaimer:
I am not author nor partner of http://thecatapi.com/ , but a cat lover.