twitter

package
v0.0.0-...-49cf9ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TwitterFavoritesResponse

type TwitterFavoritesResponse struct {
	Entities struct {
		Media []struct {
			MediaURL      string `json:"media_url"`
			MediaURLHTTPs string `json:"media_url_https"`
		} `json:"media"`
	} `json:"extended_entities"`
}

func (TwitterFavoritesResponse) GetMediaURLs

func (r TwitterFavoritesResponse) GetMediaURLs() []string

type TwitterSearchResponse

type TwitterSearchResponse struct {
	Statuses []struct {
		Entities struct {
			Media []struct {
				MediaURL      string `json:"media_url"`
				MediaURLHTTPs string `json:"media_url_https"`
			} `json:"media"`
		} `json:"entities"`
	} `json:"statuses"`
	ExpireTime time.Time
}

func (TwitterSearchResponse) Expire

func (r TwitterSearchResponse) Expire() bool

func (TwitterSearchResponse) GetMediaURLs

func (r TwitterSearchResponse) GetMediaURLs() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL