zmb3 / spotify

A Go wrapper for the Spotify Web API
Apache License 2.0
1.37k stars 288 forks source link

Result of New Releases is empty #34

Closed MrYawe closed 7 years ago

MrYawe commented 7 years ago

Code:

results, err := client.NewReleases()
if err != nil {
    log.Fatal(err)
}
spew.Dump(results)

The result is an empty SimpleAlbumPage struct and there is no raised error:

(*spotify.SimpleAlbumPage)(0xc04222f320)({
 basePage: (spotify.basePage) {
  Endpoint: (string) "",
  Limit: (int) 0,
  Offset: (int) 0,
  Total: (int) 0,
  Next: (string) "",
  Previous: (string) ""
 },
 Albums: ([]spotify.SimpleAlbum) <nil>
})

Other functions that need authentication work as expected with my client.