RESTyped typings for Giphy's REST API
Clone or download
Latest commit 5e18eb9 Oct 26, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig Initial commit Oct 11, 2017
.prettierrc Initial commit Oct 11, 2017 Update Oct 26, 2017
example.gif Add README, example gif Oct 12, 2017
giphy-api.d.ts Fix /stickers/translate and /gifs/translate response types Oct 11, 2017
index.ts Initial commit Oct 11, 2017
package.json 1.0.1 Oct 11, 2017

RESTyped typings for the Giphy API

Quickly and easily use the wonderful Giphy API in TypeScript with type checking for URL endpoints and query params!

How to use it

npm install restyped-giphy-api

Then use a REST client that supports RESTyped, like restyped-axios.


import axios from 'restyped-axios'
import { GiphyAPI } from 'restyped-giphy-api'

const client = axios.create<GiphyAPI>({baseURL: ''})

  url: '/gifs/search',
  params: {
    api_key: 'abc123',
    q: 'zero effort'
}).then((res) => {