Skip to main content

Crate tenor

Crate tenor 

Source

Modules§

categories
featured
search
trending

Structs§

Locale
Specify the default language to interpret the search string. xx is the language’s ISO 639-1 language code, while the optional YY value is the two-letter ISO 3166-1 country code. You can use the country code that you provide in locale to differentiate between dialects of the given language. The default value is en_US.
Tenor
Immutable type holding the api key along with region and language codes.

Enums§

ArRange
Filter the Response Objects to only include GIFs with aspect ratios that fit within the selected range. The default value is all. The accepted values are all, wide, and standard:
ContentFilter
Specify the content safety filter level. The default value is off. The accepted values are off, low, medium, and high.
CountryCode
This is a full enumeration of all the countries defined in ISO 3166-1.
Error
Error.
LanguageCode
A Language Code enumeration representing the two-letter 639-1 identifier.
MediaFilter
Comma-separated list of GIF formats to filter the Response Objects. By default, media_filter returns all formats for each Response Object. Example: media_filter=gif,tinygif,mp4,tinymp4 Doesn’t have a default value.
SearchFilter
Comma-separated list of non-GIF content types to filter the Response Objects. By default, searchfilter returns GIF content only. Doesn’t have a default value. The accepted values are sticker, static, and -static:

Constants§

DEFAULT_LIMIT
Fetch up to the specified number of results. Use this as the default if you are unsure.
MAX_LIMIT
Fetch up to the specified number of results, and the maximum value is 50 inclusive.

Type Aliases§

Limit