BackInBash / DeezerSync

Application to Sync Soundcloud & Spotify Playlists to Deezer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Private Api search without query

reteps opened this issue · comments

hello, I am experimenting with the internal deezer api and I was wondering if the private api queries differently than the public one. Can you leave the query parameter blank for a search and see if anything is returned?

I´ve testet it.

Request URL:
https://www.deezer.com/ajax/gw-light.php?method=deezer.pageSearch&input=3&api_version=1.0&api_token={APIKEY}&cid=731769655

Request Body:

{
    "query": "",
    "start": 0,
    "nb": 40,
    "suggest": true,
    "artist_suggest": true,
    "top_tracks": true
}

Response:

{
    "error": {
        "REQUEST_ERROR": "Query is empty"
    },
    "results": {},
    "payload": null
}