package
Version:
v0.0.0-...-5fea7ce
Opens a new window with list of versions in this module.
Published: Mar 31, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Character struct {
Name string `json:"name"`
Pic string `json:"pic"`
Person *Person `json:"person"`
MalId string `json:"malId"`
BangumiId string `json:"bangumiId"`
TmdbId string `json:"tmdbId"`
}
func NewYouLibraryClient() *Client
type GetSubjectResponse struct {
Success bool `json:"success"`
Data Subject `json:"data"`
}
type MatchSubjectRequestBody struct {
Keyword string `json:"keyword"`
SubjectType string `json:"Type"`
}
type MatchSubjectResponse struct {
Success bool `json:"success"`
Data Subject `json:"data"`
}
type Person struct {
Id uint `json:"id"`
Name string `json:"name"`
Pic string `json:"pic"`
MalId string `json:"malId"`
BangumiId string `json:"bangumiId"`
TmdbId string `json:"tmdbId"`
}
type Subject struct {
Id uint `json:"id"`
Title string `json:"title"`
Cover string `json:"cover"`
Characters []*Character `json:"characters"`
Release string `json:"release"`
MalId string `json:"malId"`
BangumiId string `json:"bangumiId"`
TmdbId string `json:"tmdbId"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.