class Giphy::GifData

Included Modules

Defined in:

types/gif.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def bitly_url : String | Nil #

The unique bit.ly URL for this GIF


[View source]
def bitly_url=(bitly_url : String | Nil) #

The unique bit.ly URL for this GIF


[View source]
def content_url : String | Nil #

Currently unused


[View source]
def content_url=(content_url : String | Nil) #

Currently unused


[View source]
def create_datetime : String | Nil #

The date this GIF was added to the GIPHY database.


[View source]
def create_datetime=(create_datetime : String | Nil) #

The date this GIF was added to the GIPHY database.


[View source]
def embed_url : String | Nil #

A URL used for embedding this GIF


[View source]
def embed_url=(embed_url : String | Nil) #

A URL used for embedding this GIF


[View source]
def id : String | Nil #

This GIF's unique ID


[View source]
def id=(id : String | Nil) #

This GIF's unique ID


[View source]
def images : Images | Nil #

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


[View source]
def images=(images : Images | Nil) #

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


[View source]
def import_datetime : String | Nil #

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


[View source]
def import_datetime=(import_datetime : String | Nil) #

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


[View source]
def rating : String | Nil #

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


[View source]
def rating=(rating : String | Nil) #

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


[View source]
def slug : String | Nil #

The unique slug used in this GIF's URL


[View source]
def slug=(slug : String | Nil) #

The unique slug used in this GIF's URL


[View source]
def source : String | Nil #

The page on which this GIF was found


[View source]
def source=(source : String | Nil) #

The page on which this GIF was found


[View source]
def source_post_url : String | Nil #

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


[View source]
def source_post_url=(source_post_url : String | Nil) #

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


[View source]
def source_tld : String | Nil #

The top level domain of the source URL.


[View source]
def source_tld=(source_tld : String | Nil) #

The top level domain of the source URL.


[View source]
def title : String | Nil #

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


[View source]
def title=(title : String | Nil) #

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


[View source]
def trending_datetime : String | Nil #

The date on which this gif was marked trending, if applicable.


[View source]
def trending_datetime=(trending_datetime : String | Nil) #

The date on which this gif was marked trending, if applicable.


[View source]
def type : String | Nil #

By default, this is almost always GIF


[View source]
def type=(type : String | Nil) #

By default, this is almost always GIF


[View source]
def update_datetime : String | Nil #

The date on which this GIF was last updated.


[View source]
def update_datetime=(update_datetime : String | Nil) #

The date on which this GIF was last updated.


[View source]
def url : String | Nil #

The unique URL for this GIF


[View source]
def url=(url : String | Nil) #

The unique URL for this GIF


[View source]
def user : User | Nil #

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


[View source]
def user=(user : User | Nil) #

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


[View source]
def username : String | Nil #

The username this GIF is attached to, if applicable


[View source]
def username=(username : String | Nil) #

The username this GIF is attached to, if applicable


[View source]