Read a record drawn at random
get_random_songGet a random record from the Bide & Musique collection to browse French songs, optionally including lyrics.
Instructions
Read one record drawn at random from the Bide & Musique collection: same answer as get_song, on a record nobody chose. Use it to browse the collection. For a question about a particular song, use get_song. The draw runs over the ids the site serves, from the first to the newest one its feed of new entries names, and an id the collection does not serve is drawn again. Records whose page carries a transcription come back with the words themselves, as published. When you show a record to a user, credit Bide & Musique and link the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_lyrics | No | Whether to return the transcription the drawn record's page carries. Browsing chains many calls, and a record with one runs to a few thousand characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| year | Yes | ||
| notes | Yes | ||
| title | Yes | ||
| top50 | Yes | ||
| artist | Yes | ||
| labels | Yes | One entry per label, two when a record was co-released. | |
| lyrics | Yes | ||
| source | Yes | ||
| song_id | Yes | ||
| writers | Yes | Writers and composers as credited, one entry each, empty when the record credits none. A few records name the part someone took, and the entry then reads as the site prints it, for example 'Paroles : Jean-Pierre Lang'. | |
| added_on | Yes | The day the collection catalogued it, as an ISO date. | |
| comments | Yes | ||
| duration | Yes | ||
| see_also | Yes | Other artists the record links to. | |
| image_url | Yes | ||
| favourites | Yes | How many people keep it as a favourite. Null when the page prints no counter. | |
| presentation | Yes | What the catalogue wrote about the record. | |
| thumbnail_url | Yes | ||
| sleeve_credits | Yes | Who is credited for the sleeve, when anyone is. | |
| credited_performer | Yes | A performer the sleeve credits apart from the artist page, when the record names one. | |
| catalogue_reference | Yes | The reference printed on the record. A reference of four digits is not a year. |