tenor_api_service 0.0.1 tenor_api_service: ^0.0.1 copied to clipboard
Tenor Api Service
Tenor Api Service Using Dio (v2 version).
Tenor takes a data-centric approach to deliver relevant GIF searches in over 45 languages worldwide. Integrate Tenor GIF search into your application in a matter of minutes.
Getting started #
Click here to generated API KEY
Add Dependency to Flutter
dependencies:
tenor_api_service: ^0.0.1
Usage #
Create ApiService
const TenorApiService service = TenorApiProvider();
Search #
e.g.
TenorDataResponse response = await service.search(TenorSearchRequest(key: key, query: 'meme', limit: 2, mediaFilter: 'gif, tinygif', locale: 'en', clientKey: 'my_app', searchFilter: 'static',));
Available Apis #
Future<TenorDataResponse> search(TenorSearchRequest tenorRequest);
Future<TenorCategoryResponse> categories(TenorCategoryRequest categoryRequest);
Future<SuggestionsResponse> searchSuggestion(TenorSearchSuggestionRequest suggestionRequest);
Future<SuggestionsResponse> autoComplete(TenorAutoCompleteRequest autoCompleteRequest);
Future<TenorDataResponse> featured(TenorFeaturedRequest featuredRequest);
Future<SuggestionsResponse> trendingTerms(TenorTrendingTermsRequest trendingTermsRequest);
Future<void> registerShare(RegisterShareRequest registerShareRequest);
Additional information #
See Gif Picker also Click here