An open API service indexing awesome lists of open source software.

https://github.com/extremeexploit/random.dog.js


https://github.com/extremeexploit/random.dog.js

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          



NPM version
NPM downloads
Build status


## About
random.dog.js is a [node.js](https://nodejs.org) module that allows you to interact with the
[random.dog API](http://random.dog) very easily.

- Predictable abstractions

## Installation

`npm install random.dog.js --save`

## Example usage
```js
const randomDog = require('random.dog.js');
const randomDogApi = randomDog.api();

randomDogApi.getDog().then((dog) => console.log(dog.url))
```