smndhm / dzr-google-sheets

Deezer Custom Functions for Google Sheets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deezer Custom Functions for Google Sheets

DZR_SEARCH

Use search to get a Deezer ID (and more).

Exemples

Simple, Basique

=DZR_SEARCH("Orelsan") will return the first result ID: 414838212.

But we don't know what the ID is. it can be an album, an artist, a playlist, a podcast, a radio, a track, or a user...

Closer

=DZR_SEARCH("The Chainsmokers"; "artist") will return the first artist ID: 4104927.

The second input can be one of the following : ['album', 'artist', 'playlist', 'podcast', 'radio', 'track', 'user'].

I Know What You Want

=DZR_SEARCH("Busta Rhymes"; "artist"; "link") will return the link of the Deezer artist page: https://www.deezer.com/artist/796.

For more details look at the Deezer Search API.

DZR_ID

Get Deezer data from a Deezer ID. Return by default the title or name parameter.

Exemples

Two parameters are mandotory: The Deezer ID and its type.

=DZR_ID(1205152; "album") will return Numbers Ones.

Adding a third parameter will return the requested parameter.

=DZR_ID(558841172; "title", "explicit_lyrics") will return true.

Creating a custom function

Check Google tutorial.

About

Deezer Custom Functions for Google Sheets


Languages

Language:JavaScript 100.0%