Bubble Docs
Search…
iTunes
Fetch song names, artists, and other data from the iTunes API.
Note: This call is blocked on iOS.

Get data from external API - Get iTunes songs

When fetching a list of songs to display, this data source can be used to search for songs within the iTunes library.
The search query used to fetch a relevant list of iTunes songs.

Dynamic text operators

iTunes song’s Artist

The artist's name of the iTunes song.

iTunes song’s Track title

The title of the iTunes song.

iTunes song’s Album title

The album title that the iTunes song belongs to.

iTunes song’s URL

The Apple Music URL to play the current song.

iTunes song’s Country

The country of origin for the creator of this song.

iTunes song’s Album image

The album image featured for the iTunes song.

Setup

After installing the iTunes plugin, it’s possible to display a list of song results by adding a repeating group to your application page.
When configuring the repeating group, set the type of content to be ‘iTunes Song’. Then, for the data source, use the ‘get data from external API’ option.
The API provider you’ll need to select is the ‘Get iTunes songs’ choice.
Now, you can match a search term with any static or dynamic text value.
From here, it’s possible to add a list of dynamic elements into the repeating group’s cell.
Simply choose the ‘current cell’s iTunes songs’ operator to display the results of a search query.

FAQ

(Have a suggested FAQ to help other Bubblers? Please email us at [email protected]!)
Last modified 1mo ago