Documentation ¶
Index ¶
- type Body
- type BodyIllust
- type BookmarkDetail
- type BookmarkDetailTag
- type Comment
- type Entry
- type Error
- type Frame
- type Illust
- type IllustBookmarkDetail
- type IllustCommentAddResult
- type IllustComments
- type IllustRecommended
- type IllustResponse
- type IllustsResponse
- type ImageUrls
- type Images
- type MetaPage
- type MetaSinglePage
- type NovelContent
- type NovelDetail
- type NovelInfo
- type PixivisionCategory
- type PixivisionSubcategory
- type PrivacyPolicy
- type Profile
- type ProfileImageUrls
- type ProfilePublicity
- type RelatedArticle
- type SearchIllustResult
- type Series
- type SeriesContent
- type ShowcaseArticle
- type Tag
- type Tags
- type TrendTag
- type TrendingTagsIllust
- type URL
- type UgoiraMetadata
- type UgoiraMetadataClass
- type User
- type UserBookmarkTags
- type UserDetail
- type UserFollowList
- type UserImages
- type UserList
- type UserPreview
- type Workspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct { ID string `json:"id"` Lang string `json:"lang"` Entry Entry `json:"entry"` Tags []Tag `json:"tags"` ThumbnailURL string `json:"thumbnailUrl"` Title string `json:"title"` PublishDate int `json:"publishDate"` Category string `json:"category"` SubCategory string `json:"subCategory"` SubCategoryLabel string `json:"subCategoryLabel"` SubCategoryIntroduction string `json:"subCategoryIntroduction"` Introduction string `json:"introduction"` Illusts []BodyIllust `json:"illusts"` RelatedArticles []RelatedArticle `json:"relatedArticles"` FollowingUserIDs []interface{} `json:"followingUserIds"` IsOnlyOneUser bool `json:"isOnlyOneUser"` }
type BodyIllust ¶
type BodyIllust struct { SpotlightArticleID int `json:"spotlight_article_id"` IllustID int `json:"illust_id"` Description string `json:"description"` Language string `json:"language"` IllustUserID string `json:"illust_user_id"` IllustTitle string `json:"illust_title"` IllustExt string `json:"illust_ext"` IllustWidth string `json:"illust_width"` IllustHeight string `json:"illust_height"` IllustRestrict string `json:"illust_restrict"` IllustXRestrict string `json:"illust_x_restrict"` IllustCreateDate string `json:"illust_create_date"` IllustUploadDate string `json:"illust_upload_date"` IllustServerID string `json:"illust_server_id"` IllustHash string `json:"illust_hash"` IllustType string `json:"illust_type"` IllustSanityLevel int `json:"illust_sanity_level"` IllustBookStyle string `json:"illust_book_style"` IllustPageCount string `json:"illust_page_count"` IllustCustomThumbnailUploadDatetime interface{} `json:"illust_custom_thumbnail_upload_datetime"` IllustComment string `json:"illust_comment"` UserAccount string `json:"user_account"` UserName string `json:"user_name"` UserComment string `json:"user_comment"` URL URL `json:"url"` UgoiraMeta interface{} `json:"ugoira_meta"` UserIcon string `json:"user_icon"` }
type BookmarkDetail ¶
type BookmarkDetail struct { IsBookmarked bool `json:"is_bookmarked"` Tags []BookmarkDetailTag `json:"tags"` Restrict string `json:"restrict"` }
type BookmarkDetailTag ¶
type Entry ¶
type Entry struct { ID string `json:"id"` Title string `json:"title"` PureTitle string `json:"pure_title"` Catchphrase string `json:"catchphrase"` Header string `json:"header"` Body string `json:"body"` Sidebar string `json:"sidebar"` PublishDate int `json:"publish_date"` Language string `json:"language"` PixivisionCategorySlug string `json:"pixivision_category_slug"` PixivisionCategory PixivisionCategory `json:"pixivision_category"` PixivisionSubcategorySlug string `json:"pixivision_subcategory_slug"` PixivisionSubcategory PixivisionSubcategory `json:"pixivision_subcategory"` Tags []Tag `json:"tags"` ArticleURL string `json:"article_url"` Intro string `json:"intro"` FacebookCount string `json:"facebook_count"` TwitterCount string `json:"twitter_count"` }
type Illust ¶
type Illust struct { ID int `json:"id"` Title string `json:"title"` Type string `json:"type"` Images *Images `json:"image_urls"` Caption string `json:"caption"` Restrict int `json:"restrict"` User *User `json:"user"` Tags []Tag `json:"tags"` Tools []string `json:"tools"` CreateData string `json:"create_data"` PageCount int `json:"page_count"` Width int `json:"width"` Height int `json:"height"` SanityLevel int `json:"sanity_level"` XRestrict int `json:"x_restrict"` Series *Series `json:"series"` MetaSinglePage *MetaSinglePage `json:"meta_single_page"` MetaPages []MetaPage `json:"meta_pages"` TotalView int `json:"total_view"` TotalBookmarks int `json:"total_bookmarks"` IsBookmarked bool `json:"is_bookmarked"` Visible bool `json:"visible"` IsMuted bool `json:"is_muted"` TotalComments int `json:"total_comments"` }
type IllustBookmarkDetail ¶
type IllustBookmarkDetail struct { Error Error `json:"error"` BookmarkDetail BookmarkDetail `json:"bookmark_detail"` }
type IllustCommentAddResult ¶
type IllustComments ¶
type IllustRecommended ¶
type IllustRecommended struct { Error Error `json:"error"` Illusts []Illust `json:"illusts"` RankingIllusts []interface{} `json:"ranking_illusts"` ContestExists bool `json:"contest_exists"` PrivacyPolicy *PrivacyPolicy `json:"privacy_policy"` NextURL string `json:"next_url"` }
type IllustResponse ¶
type IllustsResponse ¶
type MetaSinglePage ¶
type MetaSinglePage struct {
OriginalImageURL string `json:"original_image_url"`
}
type NovelContent ¶
type NovelContent struct { Error bool `json:"error"` Message string `json:"message"` Body struct { BookmarkCount int `json:"bookmarkCount"` CommentCount int `json:"commentCount"` MarkerCount int `json:"markerCount"` CreateDate time.Time `json:"createDate"` UploadDate time.Time `json:"uploadDate"` Description string `json:"description"` ID string `json:"id"` Title string `json:"title"` LikeCount int `json:"likeCount"` PageCount string `json:"pageCount"` UserID string `json:"userId"` UserName string `json:"userName"` ViewCount int `json:"viewCount"` IsOriginal bool `json:"isOriginal"` IsBungei bool `json:"isBungei"` XRestrict int `json:"xRestrict"` Restrict int `json:"restrict"` Content string `json:"content"` CoverURL string `json:"coverUrl"` SuggestedSettings struct { ViewMode int `json:"viewMode"` ThemeBackground int `json:"themeBackground"` ThemeSize interface{} `json:"themeSize"` ThemeSpacing interface{} `json:"themeSpacing"` } `json:"suggestedSettings"` IsBookmarkable bool `json:"isBookmarkable"` BookmarkData interface{} `json:"bookmarkData"` LikeData bool `json:"likeData"` PollData interface{} `json:"pollData"` Marker interface{} `json:"marker"` Tags struct { AuthorID string `json:"authorId"` IsLocked bool `json:"isLocked"` Tags []struct { Tag string `json:"tag"` Locked bool `json:"locked"` Deletable bool `json:"deletable"` UserID string `json:"userId"` UserName string `json:"userName"` } `json:"tags"` Writable bool `json:"writable"` } `json:"tags"` SeriesNavData interface{} `json:"seriesNavData"` DescriptionBoothID interface{} `json:"descriptionBoothId"` DescriptionYoutubeID interface{} `json:"descriptionYoutubeId"` ComicPromotion interface{} `json:"comicPromotion"` FanboxPromotion interface{} `json:"fanboxPromotion"` ContestBanners []interface{} `json:"contestBanners"` ContestData interface{} `json:"contestData"` Request interface{} `json:"request"` ImageResponseOutData []interface{} `json:"imageResponseOutData"` ImageResponseData []interface{} `json:"imageResponseData"` ImageResponseCount int `json:"imageResponseCount"` HasGlossary bool `json:"hasGlossary"` ZoneConfig struct { Responsive struct { URL string `json:"url"` } `json:"responsive"` Rectangle struct { URL string `json:"url"` } `json:"rectangle"` Five00X500 struct { URL string `json:"url"` } `json:"500x500"` Header struct { URL string `json:"url"` } `json:"header"` Footer struct { URL string `json:"url"` } `json:"footer"` ExpandedFooter struct { URL string `json:"url"` } `json:"expandedFooter"` Logo struct { URL string `json:"url"` } `json:"logo"` Relatedworks struct { URL string `json:"url"` } `json:"relatedworks"` } `json:"zoneConfig"` ExtraData struct { Meta struct { Title string `json:"title"` Description string `json:"description"` Canonical string `json:"canonical"` DescriptionHeader string `json:"descriptionHeader"` Ogp struct { Description string `json:"description"` Image string `json:"image"` Title string `json:"title"` Type string `json:"type"` } `json:"ogp"` Twitter struct { Description string `json:"description"` Image string `json:"image"` Title string `json:"title"` Card string `json:"card"` } `json:"twitter"` } `json:"meta"` } `json:"extraData"` TitleCaptionTranslation struct { WorkTitle interface{} `json:"workTitle"` WorkCaption interface{} `json:"workCaption"` } `json:"titleCaptionTranslation"` IsUnlisted bool `json:"isUnlisted"` Language string `json:"language"` TextEmbeddedImages interface{} `json:"textEmbeddedImages"` CommentOff int `json:"commentOff"` CharacterCount int `json:"characterCount"` WordCount int `json:"wordCount"` UseWordCount bool `json:"useWordCount"` ReadingTime int `json:"readingTime"` AiType int `json:"aiType"` } `json:"body"` }
type NovelDetail ¶
type NovelInfo ¶
type NovelInfo struct { ID int `json:"id"` Title string `json:"title"` Caption string `json:"caption"` Restrict int `json:"restrict"` XRestrict int `json:"x_restrict"` IsOriginal bool `json:"is_original"` ImageUrls ImageUrls `json:"image_urls"` CreateDate time.Time `json:"create_date"` Tags []Tags `json:"tags"` PageCount int `json:"page_count"` TextLength int `json:"text_length"` User User `json:"user"` Series Series `json:"series"` IsBookmarked bool `json:"is_bookmarked"` TotalBookmarks int `json:"total_bookmarks"` TotalView int `json:"total_view"` Visible bool `json:"visible"` TotalComments int `json:"total_comments"` IsMuted bool `json:"is_muted"` IsMypixivOnly bool `json:"is_mypixiv_only"` IsXRestricted bool `json:"is_x_restricted"` NovelAiType int `json:"novel_ai_type"` CommentAccessControl int `json:"comment_access_control"` }
type PixivisionCategory ¶
type PixivisionSubcategory ¶
type PrivacyPolicy ¶
type PrivacyPolicy struct { }
type Profile ¶
type Profile struct { Webpage interface{} `json:"webpage"` Gender string `json:"gender"` Birth string `json:"birth"` BirthDay string `json:"birth_day"` BirthYear uint64 `json:"birth_year"` Region string `json:"region"` AddressID uint64 `json:"address_id"` CountryCode string `json:"country_code"` Job string `json:"job"` JobID uint64 `json:"job_id"` TotalFollowUsers uint64 `json:"total_follow_users"` TotalMypixivUsers uint64 `json:"total_mypixiv_users"` TotalIllusts uint64 `json:"total_illusts"` TotalManga uint64 `json:"total_manga"` TotalNovels uint64 `json:"total_novels"` TotalIllustBookmarksPublic uint64 `json:"total_illust_bookmarks_public"` TotalIllustSeries uint64 `json:"total_illust_series"` TotalNovelSeries uint64 `json:"total_novel_series"` BackgroundImageURL string `json:"background_image_url"` TwitterAccount string `json:"twitter_account"` TwitterURL string `json:"twitter_url"` PawooURL string `json:"pawoo_url"` IsPremium bool `json:"is_premium"` IsUsingCustomProfileImage bool `json:"is_using_custom_profile_image"` }
type ProfileImageUrls ¶
type ProfileImageUrls struct {
Medium string `json:"medium"`
}
type ProfilePublicity ¶
type RelatedArticle ¶
type RelatedArticle struct { ID string `json:"id"` Ja PrivacyPolicy `json:"ja"` En PrivacyPolicy `json:"en"` Zh PrivacyPolicy `json:"zh"` ZhTw PrivacyPolicy `json:"zh_tw"` PublishDate int `json:"publish_date"` Category string `json:"category"` PixivisionCategorySlug string `json:"pixivision_category_slug"` PixivisionSubcategorySlug string `json:"pixivision_subcategory_slug"` Thumbnail string `json:"thumbnail"` ThumbnailIllustID string `json:"thumbnail_illust_id"` HasBody string `json:"has_body"` IsPr string `json:"is_pr"` PrClientName string `json:"pr_client_name"` EditStatus string `json:"edit_status"` TranslationStatus string `json:"translation_status"` IsSample string `json:"is_sample"` Illusts []interface{} `json:"illusts"` NovelIDs []interface{} `json:"novel_ids"` Memo string `json:"memo"` FacebookCount string `json:"facebook_count"` TweetCount string `json:"tweet_count"` TweetMaxCount string `json:"tweet_max_count"` Tags []interface{} `json:"tags"` TagIDs interface{} `json:"tag_ids"` NumberedTags []interface{} `json:"numbered_tags"` MainAbtestPatternID string `json:"main_abtest_pattern_id"` AdvertisementID string `json:"advertisement_id"` }
type SearchIllustResult ¶
type SeriesContent ¶
type SeriesContent struct { Error bool `json:"error"` Message string `json:"message"` Body struct { SeriesContents []struct { Id string `json:"id"` UserId string `json:"userId"` Series struct { Id int `json:"id"` ViewableType int `json:"viewableType"` ContentOrder int `json:"contentOrder"` } `json:"series"` Title string `json:"title"` CommentHtml string `json:"commentHtml"` Tags []string `json:"tags"` Restrict int `json:"restrict"` XRestrict int `json:"xRestrict"` IsOriginal bool `json:"isOriginal"` TextLength int `json:"textLength"` CharacterCount int `json:"characterCount"` WordCount int `json:"wordCount"` UseWordCount bool `json:"useWordCount"` ReadingTime int `json:"readingTime"` BookmarkCount int `json:"bookmarkCount"` Url string `json:"url"` UploadTimestamp int `json:"uploadTimestamp"` ReuploadTimestamp int `json:"reuploadTimestamp"` IsBookmarkable bool `json:"isBookmarkable"` BookmarkData interface{} `json:"bookmarkData"` AiType int `json:"aiType"` } `json:"seriesContents"` } `json:"body"` }
type ShowcaseArticle ¶
type TrendingTagsIllust ¶
type UgoiraMetadata ¶
type UgoiraMetadata struct { Error Error `json:"error"` UgoiraMetadataUgoiraMetadata UgoiraMetadataClass `json:"ugoira_metadata"` }
type UgoiraMetadataClass ¶
type UgoiraMetadataClass struct { ZipURLs UserImages `json:"zip_urls"` Frames []Frame `json:"frames"` }
type UserBookmarkTags ¶
type UserDetail ¶
type UserDetail struct { Error Error `json:"error"` User User `json:"user"` Profile Profile `json:"profile"` ProfilePublicity ProfilePublicity `json:"profile_publicity"` Workspace Workspace `json:"workspace"` }
type UserFollowList ¶
type UserFollowList struct { Error Error `json:"error"` UserPreviews []UserPreview `json:"user_previews"` NextURL string `json:"next_url"` }
type UserImages ¶
type UserImages struct {
Medium string `json:"medium"`
}
type UserList ¶
type UserList struct { Error Error `json:"error"` Users []interface{} `json:"users"` }
type UserPreview ¶
type Workspace ¶
type Workspace struct { Pc string `json:"pc"` Monitor string `json:"monitor"` Tool string `json:"tool"` Scanner string `json:"scanner"` Tablet string `json:"tablet"` Mouse string `json:"mouse"` Printer string `json:"printer"` Desktop string `json:"desktop"` Music string `json:"music"` Desk string `json:"desk"` Chair string `json:"chair"` Comment string `json:"comment"` WorkspaceImageURL string `json:"workspace_image_url"` }
Click to show internal directories.
Click to hide internal directories.