class

Giphy::GifData

Inherits JSON::Serializable < Reference < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

bitly_url

The unique bit.ly URL for this GIF

Source
bitly_url=(bitly_url : String | Nil)

The unique bit.ly URL for this GIF

Source
content_url

Currently unused

Source
content_url=(content_url : String | Nil)

Currently unused

Source
create_datetime

The date this GIF was added to the GIPHY database.

Source
create_datetime=(create_datetime : String | Nil)

The date this GIF was added to the GIPHY database.

Source
embed_url

A URL used for embedding this GIF

Source
embed_url=(embed_url : String | Nil)

A URL used for embedding this GIF

Source
id

This GIF's unique ID

Source
id=(id : String | Nil)

This GIF's unique ID

Source
images

An object containing data for various available formats and sizes of this GIF.

Source
images=(images : Images | Nil)

An object containing data for various available formats and sizes of this GIF.

Source
import_datetime

The creation or upload date from this GIF's source.

Source
import_datetime=(import_datetime : String | Nil)

The creation or upload date from this GIF's source.

Source
rating

The MPAA-style rating for this content. Examples include Y, G, PG, PG-13 and R

Source
rating=(rating : String | Nil)

The MPAA-style rating for this content. Examples include Y, G, PG, PG-13 and R

Source
slug

The unique slug used in this GIF's URL

Source
slug=(slug : String | Nil)

The unique slug used in this GIF's URL

Source
source

The page on which this GIF was found

Source
source=(source : String | Nil)

The page on which this GIF was found

Source
source_post_url

The URL of the webpage on which this GIF was found.

Source
source_post_url=(source_post_url : String | Nil)

The URL of the webpage on which this GIF was found.

Source
source_tld

The top level domain of the source URL.

Source
source_tld=(source_tld : String | Nil)

The top level domain of the source URL.

Source
title

The title that appears on giphy.com for this GIF.

Source
title=(title : String | Nil)

The title that appears on giphy.com for this GIF.

Source
type

By default, this is almost always GIF

Source
type=(type : String | Nil)

By default, this is almost always GIF

Source
update_datetime

The date on which this GIF was last updated.

Source
update_datetime=(update_datetime : String | Nil)

The date on which this GIF was last updated.

Source
url

The unique URL for this GIF

Source
url=(url : String | Nil)

The unique URL for this GIF

Source
user

An object containing data about the user associated with this GIF, if applicable.

Source
user=(user : User | Nil)

An object containing data about the user associated with this GIF, if applicable.

Source
username

The username this GIF is attached to, if applicable

Source
username=(username : String | Nil)

The username this GIF is attached to, if applicable

Source