Documentation
¶
Overview ¶
Package frinkiac provides go bindings for the Frinkiac and Morbotron apis.
Index ¶
- func GetFrinkiacFrame(query string) (string, error)
- func GetFrinkiacGif(query string) (string, error)
- func GetFrinkiacGifMeme(query string) (string, error)
- func GetFrinkiacMeme(query string) (string, error)
- func GetMasterOfAllScienceFrame(query string) (string, error)
- func GetMasterOfAllScienceGif(query string) (string, error)
- func GetMasterOfAllScienceGifMeme(query string) (string, error)
- func GetMasterOfAllScienceMeme(query string) (string, error)
- func GetMorbotronFrame(query string) (string, error)
- func GetMorbotronGif(query string) (string, error)
- func GetMorbotronGifMeme(query string) (string, error)
- func GetMorbotronMeme(query string) (string, error)
- type Episode
- type Frames
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFrinkiacFrame ¶
GetFrinkiacFrame Sends a URL of a frame from Frinkiac
func GetFrinkiacGif ¶
GetFrinkiacGif Returns a URL for a GIF with a caption
func GetFrinkiacGifMeme ¶
GetFrinkiacGifMeme Returns a URL for a GIF with a caption
func GetFrinkiacMeme ¶
GetFrinkiacMeme Returns a URL of a frame with a caption
func GetMasterOfAllScienceFrame ¶
GetMasterOfAllScienceFrame Sends a URL of a frame from Master of All Science
func GetMasterOfAllScienceGif ¶
GetMasterOfAllScienceGif Returns a URL for a GIF with a caption
func GetMasterOfAllScienceGifMeme ¶
GetMasterOfAllScienceGifMeme Returns a URL for a GIF with a caption
func GetMasterOfAllScienceMeme ¶
GetMasterOfAllScienceMeme Returns a URL of a frame with a caption
func GetMorbotronFrame ¶
GetMorbotronFrame Sends a URL of a frame from Morbotron
func GetMorbotronGif ¶
GetMorbotronGif Returns a URL for a GIF with a caption
func GetMorbotronGifMeme ¶
GetMorbotronGifMeme Returns a URL for a GIF with a caption
func GetMorbotronMeme ¶
GetMorbotronMeme Returns a URL of a frame with a caption
Types ¶
type Episode ¶
type Episode struct { Frame Frames `json:"Frame"` Subtitles []struct { ID int `json:"Id"` RepTimestamp int `json:"RepresentativeTimestamp"` Episode string `json:"Episode"` StartTimestamp int `json:"StartTimestamp"` EndTimestamp int `json:"EndTimestamp"` Content string `json:"Content"` } `json:"Subtitles"` Nearby []Frames `json:"Nearby"` }
Episode Holds information about an Episode