Giter Club home page Giter Club logo

tenor-fetch's Introduction

tenor-fetch

A library that lets you access the Tenor API. What's Tenor? A GIF search engine.

Rad?

Tenor in action

Yeah. Totally rad.

Also, you should totally check out my rad start-up, Tutturu.tv ๐Ÿ‘

Installation

npm install --save tenor-fetch

Getting started

You'll need an API key from Tenor: https://tenor.com/gifapi

const TenorFetch = require('tenor-fetch');

const tf = new TenorFetch('YOUR-TENOR-API-KEY');

// Search "smug anime" on Tenor
tf.search('smug anime').then(console.log);

// Find trending GIFs on Tenor
tf.trending().then(console.log);

API

Check out the endpoints here: https://tenor.com/gifapi/documentation#endpoints

This project is written in TypeScript so you can let IntelliSense guide you.

The library is pretty straightforward: if you're lost just glance at the source.

Tests

npm run test

Contributing

Before you make a merge request, please:

  1. Run npm run lint and npm run format
  2. Ensure all existing tests pass
  3. Add tests for your additions (if applicable)

Thanks! ๐Ÿ’–

Acknowledgements

Inspired from @giphy/js-fetch-api.

I try my best to match the API. We have promises, but I can't promise you anything (haha).

Regarding the source code, I'm a total noob and I just followed the instructions here. Sorry.

tenor-fetch's People

Contributors

philipjscott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ambyjkl genjudev

tenor-fetch's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.