0.1.1 • Published 4 years ago
redgifs-api v0.1.1
Table of contents
Coverage
- Homepage feeds
- Popular GIFs
- GIFs with sound
- GIFs from verified creators
- Trending/Hot GIFs
(w/ limit)
- Top GIFs with sound
(w/ limit)
- Top verified creators
- Top stars
- Categories
- Top categories
- List of all categories
- User
- List of User GIFs
(w/ limit, and cursor pagination)
- List of User GIFs
- Posts
- Fetch a single GIF by it's unique ID
- Fetch related posts
(w/ limit, and cursor pagination)
- Search
- Sort by trending, best, and latest results
(w/ limit, and cursor pagination)
- Sort by trending, best, and latest results
Installation
# Yarn (recommended)
yarn add redgifs-api
# NPM
npm install redgifs-api
Examples
All methods are fairly self explanatory.
Please check the examples folder, for more information.
Tests
yarn run test
# Coverage (requires nyx package)
yarn run test:cov