A javascript module for searching gif images
import * as gifSearch from 'gif-search';
// Set your Giphy API Key
gifSearch.setAPIKey('api-key');
// 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)
);
npm install gif-search
npm test
- Gipy API
- Request - make http calls
- TypeScript
Please read CONTRIBUTING.md for details on contributing to the repository.
Clone the repository in an empty directory.
Commit changes then create a pull request.
The project uses Semver for versioning. To check the released versions, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE.md file for details.