request

package
v0.0.0-...-9007b2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTrackInfo

func GetTrackInfo(sngID string) (map[string]interface{}, error)

func InitDeezerAPI

func InitDeezerAPI(arl string) (string, error)

func Request

func Request(body map[string]interface{}, method string) (map[string]interface{}, error)

Types

type UserData

type UserData struct {
	Error   []interface{} `json:"error"`
	Results struct {
		SessionID string `json:"SESSION_ID"`
		Session   string `json:"SESSION"`
		CheckForm string `json:"checkForm"`
	} `json:"results"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL