GiphyAPI class
Giphy API
This class provides a way to interact with the Giphy API.
Properties
Methods
-
analytics(
String url) → Future< bool> - Send analytics to Giphy Analytics
-
autoComplete(
String tagTerm, {int limit = 5, int offset = 0}) → Future< SuccessTermResponseModel> - Auto complete Providers users a list of valid terms that completes the given tag on the GIPHY network.
-
categories(
) → Future< SuccessCategoriesResponseModel> - Get gifs categories Providers users a list of Gif categories on the GIPHY network.
-
channelSearch(
String query, {int limit = 25, int offset = 0}) → Future< SuccessChannelResponseModel> - Search a channel Channel Search endpoint returns all the GIPHY channels matching the query term
-
emoji(
{int limit = 25, int offset = 0}) → Future< SuccessEmojiResponseMultiModel> - Get emoji GIPHY has released a feature across all GIPHY apps and platforms that makes GIPHY’s uniquely diverse emoji library more accessible than ever. Pairing custom artwork with a purpose-built API endpoint, GIPHY emojis allow you to bring animated reaction emojis to your users with style and ease.
-
emojiVariation(
String emojiID) → Future< SuccesEmojiResponseModel> - Get emoji variation Fetch the variations associated with a given emoji.
-
getGifByID(
String gifID, {Rating? rating}) → Future< SuccessResponseSingleModel> - Get a gif from an ID Get GIF by ID returns a GIF’s metadata based on the GIF ID specified.
-
getMultipleGifsByID(
List< String> gifsID, {Rating? rating, int limit = 25, int offset = 0}) → Future<SuccessResponseMultiModel> - Get multiple gifs from an IDs Get GIFs by ID returns metadata of multiple GIFs based on the GIF IDs specified.
-
getTrending(
{int limit = 25, int offset = 0, Rating? rating, Bundle? bundle, bool sticker = false}) → Future< SuccessResponseMultiModel> - Get Gifs or Stockers Trending GIPHY Trending returns a list of the most relevant and engaging content each and every day.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
random(
String tag, {Rating? rating, bool sticker = false}) → Future< SuccessResponseSingleModel> - Get a random Gif or Sticker GIPHY Random lets you add some weirdness to the conversation by returning a single random GIF or Sticker related to the word or phrase entered. If no tag is specified, the GIF or Sticker returned is completely random.
-
search(
String query, {int limit = 25, int offset = 0, Rating? rating, GiphyLanguage language = GiphyLanguage.en, Bundle? bundle, bool sticker = false}) → Future< SuccessResponseMultiModel> - Search Gif or Stickers GIPHY Search gives you instant access to our library of millions of GIFs and Stickers by entering a word or phrase. With our unparalleled search algorithm, users can easily express themselves and animate their conversations.
-
termSearch(
String term) → Future< SuccessTermResponseModel> - Search a term Providers users a list of tag terms related to the given tag on the GIPHY network.
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
String query, {Rating? rating, bool sticker = false}) → Future< SuccessResponseSingleModel> - Translate a word into a Gif or Sticker GIPHY Translate converts words and phrases to the perfect GIF or Sticker using GIPHY's special sauce algorithm. This feature is best exhibited in GIPHY's Slack integration.
-
trendingSearch(
) → Future< SuccessTrendingSearchResponseModel> - Get trending search Provides users a list of the most popular trending search terms on the GIPHY network.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createRandomID(
String apiKey, {bool debugMode = kDebugMode}) → Future< SuccessRandomIDResponseModel> - Create a randomID GIPHY Random ID Endpoint allows GIPHY to generate a unique ID you can assign to each new user in your app. More info on Giphy documentation: https://developers.giphy.com/docs/api/endpoint#random-id