Tenor class

Constructors

Tenor({String apiKey = '', String language = 'en'})

Properties

apiKey String
final
hashCode int
The hash code for this object.
no setterinherited
language String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

autoComplete(String search, {int limit = 20}) Future<List<String>>
Returns response containing a list of completed search terms given a partial search term. The list is sorted by Tenor’s AI and the number of results will decrease as Tenor’s AI becomes more certain.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomGIF(String search, {int limit = 20, ContentFilter contentFilter = ContentFilter.off, GifSize size = GifSize.all, MediaFilter mediaFilter = MediaFilter.minimal}) Future<TenorResponse?>
Get a randomized list of GIFs for a given search term. This differs from the search endpoint which returns a rank ordered list of GIFs for a given search term.
requestCategories({ContentFilter contentFilter = ContentFilter.off, CategoryType categoryType = CategoryType.featured}) Future<List<TenorCategories?>>
Requests Categories from tenor
requestTrendingGIF({int limit = 20, ContentFilter contentFilter = ContentFilter.off, GifSize size = GifSize.all, MediaFilter mediaFilter = MediaFilter.minimal}) Future<TenorResponse?>
Returns response containing a list of the current global trending GIFs. The trending stream is updated regularly throughout the day.
searchGIF(String search, {int limit = 20, ContentFilter contentFilter = ContentFilter.off, GifSize size = GifSize.all, MediaFilter mediaFilter = MediaFilter.minimal}) Future<TenorResponse?>
Requests Gif from tenor
searchSuggestions(String search, {int limit = 20}) Future<List<String>>
Search suggestions helps a user narrow their search or discover related search terms to find a more precise GIF. Results are returned in order of what is most likely to drive a share for a given term, based on historic user search and share behavior.
toString() String
A string representation of this object.
inherited
trendingSearch({int limit = 20}) Future<List<String>>
Returns response containing a list of the current trending search terms. The list is updated Hourly by Tenor’s AI.

Operators

operator ==(Object other) bool
The equality operator.
inherited