Documentation
¶
Index ¶
- Variables
- func InitDeezerAPI(arl string) (string, error)
- func Request(body map[string]interface{}, method string) ([]byte, error)
- func RequestGet(method string, params map[string]interface{}) ([]byte, error)
- func RequestPublicApi(slug string) ([]byte, error)
- type APIResponse
- type PublicAPIResponseError
- type UserData
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Client *resty.Client
)
Functions ¶
func InitDeezerAPI ¶
InitDeezerAPI initializes the Deezer API and sets up a session refresh ticker
func RequestPublicApi ¶
Types ¶
type APIResponse ¶
type APIResponse struct {
Error interface{} `json:"error"`
Results json.RawMessage `json:"results"`
Payload interface{} `json:"payload,omitempty"`
}
type PublicAPIResponseError ¶
Click to show internal directories.
Click to hide internal directories.