Giter Club home page Giter Club logo

temotes's Introduction

tEmotes API

Easy to use API for Twitch emotes

Documentation

We support:

  • Twitch
  • 7TV
  • BetterTTV
  • FrankerFaceZ

Setup

Note: Keep in mind that you don't need to install anything if you just want to consume the API.

You can use the public API that we expose on emotes.adamcy.pl

Requirements

  • Golang
  • Redis
  • Twitch API Access (Client ID and Client Secret)

Configure

Configuration is as easy as defining the environment variables from the .env file.

Run & Build

Running and building the application is as simple as in any other Go project.

License

This project is licensed under the terms of the AGPL-3.0 license.

temotes's People

Contributors

adiq avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

temotes's Issues

.env file been ignored

Settings set in .env file seems to be ignored.
For example: SERVER_ADDR=0.0.0.0:51200
Just a random port will be picked and use.

7TV Channel emotes is not working.

7TV endpoint (https://emotes.adamcy.pl/v1/channel/{channel}/emotes/7tv) for channels' emotes always return empty. Tested with both Twitch ID and logins. Global does work normally.

Incorrect URL for FrankerFaceZ

Response for https://emotes.adamcy.pl/v1/global/emotes/ffz return url with double https:

{"provider":3,"code":"ZrehplaR","urls":[{"size":"1x","url":"https:https://cdn.frankerfacez.com/emote/9/1"}

Twitch stuff doesn't work

Hey,

Could there be an issue with your twitch access token?
All Twitch related things (channel ids, channel emotes and global emotes) are not working currently.

API Call Fails If Streamer Doesn't Have 7tv Emotes When Using 7tv/all Service Call

May be an edge case, but if a streamer doesn't have 7tv emotes for their channel while making an API request including "7tv" (or using "all") for the service parameter, the request will result in a 502 error. This can be replicated via the API request test found on https://adiq.stoplight.io/docs/temotes/b3A6MzI2NTc0MjI-get-channel-emotes using the following parameters:

Case #1:
channel: imbedhead
services: twitch
results: Response code 200, with an empty array
Case #2:
channel: imbedhead
services: bttv
results: Response code 200, with an empty array
Case #3:
channel: imbedhead
services: 7tv
results: Response code 502, no results
Case #4:
channel: imbedhead
services: all
results: Response code 502, no results

A better case could be using streamer "imaqtpie", who has twitch, bttv, and ffz emotes, but not 7tv emotes, causing the issue mentioned above.

Also wanted to say love the api! Exactly what I needed for my own little project.

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.