gif-search
A javascript module for searching gif images
Getting Started
import gifSearch from 'gifs-search';
//set your giphy key
gifSearch.apiKey("3XHgNK953tmBjosVWO1IGR5q3eL0vU5i")
// Search for a gif
gifSearch.query('cat').then(
gifUrl => console.log(gifUrl)
);
// Search for a random gif
gifSearch.random('cat').then(
gifUrl => console.log(gifUrl)
);
Installing
npm install gifs-search
Running the tests
npm test
Built With
Contributing
Please read CONTRIBUTING.md for details on contributing to the repository.
Development
Clone the repository in an empty directory.
Note:
There is an issue with the aws-sign2 module used in the request module with rollup.
To get this working in your local development environment, you may need to manually fix the issue until the fix gets published on npm.
Versioning
The project uses Semver for versioning. To check the released versions, see the tags on this repository.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.