A simple API wrapper for the Tenor API

Overview

Gifpy

A simple API wrapper for the Tenor API

Installation

Python 3.9 or higher is recommended

python3 -m pip install gifpy

Clone repository:

$ git clone https://github.com/Batucho/gifpy

API Token

You can get your API token here: Tenor Developer Dashboard

Code Examples

Simple Search

from gifpy import Gifpy

gifpy = Gifpy("key", "en_US")
search = gifpy.search("code!", limit  =  5)

print(search[0].__slots__)
print(search[0].id)

Gif Search

from gifpy import Gifpy

KEY =  ""  #Your API key goes here
gifpy = Gifpy(KEY, "en_US")

# Look up only one gif
gif = gifpy.gifs("15997191") # Returns a Gif Object
print(gif.__slots__)

#Look up many gifs
gifs = gifpy.gifs("15997191,19025805,22726592") # Returns a list of Gif Objects
print(gifs)
print(gifs[0].id)

More examples here!

Feel free to contribute or inform any bug!

You might also like...
A simple API wrapper for Discord written in Python.

AIOCord This project is work in progress not for production use A simple asynchronous API wrapper around Discord API written in Python. Inspiration Th

Simple VK API wrapper for Python

VK Admier: documentation VK Admier is simple VK API wrapper for community bot development. Authorization You should create bot object from Client clas

A simple API Wrapper for Guilded.
A simple API Wrapper for Guilded.

Guildr A simple API Wrapper for Guilded. Frequently updated! I am not a user of Guilded, meaning I do not keep track of new Guilded updates or patches

Python API wrapper around Trello's API

A wrapper around the Trello API written in Python. Each Trello object is represented by a corresponding Python object. The attributes of these objects

An API wrapper around the pythonanywhere's API.

pyaww An API wrapper around the pythonanywhere's API. The name stands for pythonanywherewrapper. 100% api coverage most of the codebase is documented

Async ready API wrapper for Revolt API written in Python.

Mutiny Async ready API wrapper for Revolt API written in Python. Installation Python 3.9 or higher is required To install the library, you can just ru

An API Wrapper for Gofile API

Gofile2 from gofile2 import Gofile g_a = Gofile() print(g_a.upload(file="/home/itz-fork/photo.png")) An API Wrapper for Gofile API. About API Gofile

A Python API wrapper for the Twitter API!

PyTweet PyTweet is an api wrapper made for twitter using twitter's api version 2! Installation Windows py3 -m pip install PyTweet Linux python -m pip

Python API wrapper library for Convex Value API

convex-value-python Python API wrapper library for Convex Value API. Further Links: Convex Value homepage @ConvexValue on Twitter JB on Twitter Authen

Comments
  • Add issue and pr templates [.github]

    Add issue and pr templates [.github]

    Description

    The proyect is missing any kind of guide on how to open an issue or contribute to the proyecy, any help with this would be great!

    2 issue templates could be added, one for reporting bug, and another one to request features.

    For bug report could be smt like this:

    • Description:
    • Steps to reproduce
    • Posible solutions

    Feature Request:

    • Description
    • Reason
    • How would you implement it
    enhancement help wanted good first issue hacktoberfest 
    opened by JuaniBattiston 3
Releases(tenor-api-wrapper)
Owner
Juan Ignacio Battiston
👨‍🎓 Intermediate Python Developer ㅤㅤ 🤖 Discord Bots Dev ㅤㅤㅤㅤㅤㅤㅤ 🎮 Videogames Enthusiast
Juan Ignacio Battiston
Aws-lambda-requests-wrapper - Request/Response wrapper for AWS Lambda with API Gateway

AWS Lambda Requests Wrapper Request/Response wrapper for AWS Lambda with API Gat

null 1 May 20, 2022
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
A simple Python API wrapper for Cloudflare Stream's API.

python-cloudflare-stream A basic Python API wrapper for working with Cloudflare Stream. Arbington.com started off using Cloudflare Stream. We used the

Arbington 3 Sep 8, 2022
A wrapper for slurm especially on Taiwania2 (HPC CLI)A wrapper for slurm especially on Taiwania2 (HPC CLI)

TWCC-slurm-wrapper A wrapper for slurm especially on Taiwania2 (HPC CLI). For Taiwania2 (HPC CLI) usage, please refer to here. (中文) How to Install? gi

Chi-Liang, Liu 5 Oct 7, 2022
Discord-Wrapper - Discord Websocket Wrapper in python

This does not currently work and is in development Discord Websocket Wrapper in

null 3 Oct 25, 2022
A simple Python wrapper for the Amazon.com Product Advertising API ⛺

Amazon Simple Product API A simple Python wrapper for the Amazon.com Product Advertising API. Features An object oriented interface to Amazon products

Yoav Aviram 789 Dec 26, 2022
This is a simple unofficial async Api-wrapper for tio.run

Async-Tio This is a simple unofficial async Api-wrapper for tio.run

Tom-the-Bomb 7 Oct 28, 2022
A Simple, LightWeight, Statically-Typed Python3 API wrapper for GogoAnime.

AniKimi API A Simple, LightWeight, Statically-Typed Python3 API wrapper for GogoAnime The v2 of gogoanimeapi (depreciated) Made with JavaScript and Py

null 17 Dec 9, 2022
A simple and stupid Miinto API wrapper

miinto-api-wrapper Miinto API Wrapper is a simple python wrapper for Miinto API. Miinto is a fashion luxury marketplace. For more information see the

Giuseppe Checchia 3 Jan 9, 2022