Versions in this module Expand all Collapse all v1 v1.6.1 Jan 10, 2020 Changes in this version + const BucketDeviationSubmitted + const MaxDeviationsPerPage + type BrowseTags struct + type Collection struct + type DeviantartAPI struct + OAuth2Config *oauth2.Config + Session watcherHttp.SessionInterface + func NewDeviantartAPI(moduleKey string, account *models.Account) *DeviantartAPI + func (a *DeviantartAPI) AddRoundTrippers() + func (a *DeviantartAPI) BrowseTags(tag string, offset uint, limit uint) (*BrowseTags, error) + func (a *DeviantartAPI) Collection(user string, folderID string, offset uint, limit uint) (*Collection, error) + func (a *DeviantartAPI) CollectionFolderIDToUUID(username string, folderID int) (string, error) + func (a *DeviantartAPI) CollectionFolders(user string, offset uint, limit uint) (*Folders, error) + func (a *DeviantartAPI) CollectionNameFromID(username string, folderID int) (string, error) + func (a *DeviantartAPI) CollectionNameFromURL(feURL string) (string, error) + func (a *DeviantartAPI) CollectionNameFromUUID(username string, folderUUID string) (string, error) + func (a *DeviantartAPI) DeviationContent(deviationID string) (*DeviationContent, error) + func (a *DeviantartAPI) DeviationDownload(deviationID string) (*DeviationDownload, error) + func (a *DeviantartAPI) DeviationDownloadFallback(deviationURL string) (*DeviationDownload, error) + func (a *DeviantartAPI) FeedHome(cursor string) (*FeedBucketResponse, error) + func (a *DeviantartAPI) FeedHomeBucket(bucketID string, offset uint) (*FeedBucketResponse, error) + func (a *DeviantartAPI) Gallery(user string, folderID string, offset uint, limit uint) (*GalleryResponse, error) + func (a *DeviantartAPI) GalleryAll(user string, offset uint, limit uint) (*GalleryResponse, error) + func (a *DeviantartAPI) GalleryFolderIDToUUID(username string, folderID int) (string, error) + func (a *DeviantartAPI) GalleryFolders(user string, offset uint, limit uint) (*Folders, error) + func (a *DeviantartAPI) GalleryNameFromID(username string, folderID int) (string, error) + func (a *DeviantartAPI) Placebo() (*Placebo, error) + type Deviation struct + Author struct{ ... } + Content ... + DeviationDownload *DeviationDownload + DeviationID string + DeviationURL string + Excerpt *string + Flash ... + IsDownloadable bool + PublishedTime string + Thumbs []struct{ ... } + Title string + type DeviationContent struct + HTML string + type DeviationDownload struct + Src string + type Error struct + ErrorCode json.Number + ErrorDescription string + ErrorDetails map[string]string + ErrorMessage string + Status string + func (e Error) Error() string + type FeedBucketResponse struct + Cursor string + HasMore bool + Items []struct{ ... } + type Folder struct + FolderUUID string + Name string + type Folders struct + HasMore bool + NextOffset *int + Results []Folder + type GalleryResponse struct + type ImplicitGrantDeviantart struct + func NewImplicitGrantDeviantart(cfg *oauth2.Config, client *http.Client, account *models.Account) *ImplicitGrantDeviantart + func (g *ImplicitGrantDeviantart) Authorize() error + func (g *ImplicitGrantDeviantart) Login() error + type PaginatedResults struct + EstimatedTotal uint + HasMore bool + NextOffset *uint + Results []*Deviation + type Placebo struct + Status string