Discover Packages
github.com/nanderLP/api
spotify
package
Version:
v0.0.0-...-9c6cde7
Opens a new window with list of versions in this module.
Published: Oct 28, 2022
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ErrorResponse struct {
Error string `json:"error"`
}
type PlaybackResponse struct {
Timestamp int64 `json:"timestamp"`
Progress int `json:"progress_ms"`
Playing bool `json:"is_playing"`
Item any `json:"item"`
}
type SavedCredentials struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
}
type TokenResponse struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
ExpiresIn int16 `json:"expires_in"`
Scope string `json:"scope"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.