jessicaschilling / eterna-milonga

An automagical robot DJ for tango dancers using streaming music from Spotify.
http://www.eternamilonga.com
MIT License
1 stars 0 forks source link

Tanda logic: pseudocode #2

Open jessicaschilling opened 4 years ago

jessicaschilling commented 4 years ago
jessicaschilling commented 4 years ago

CURL for getting the type, orquesta, singer, year, and spotifyID for a record matching specified rand value, in this case 12:

curl "https://api.airtable.com/v0/appnR9FrKCD0OV7Q9/Tracks?maxRecords=1&fields%5B%5D=type&fields%5B%5D=orquesta&fields%5B%5D=singer&fields%5B%5D=year&fields%5B%5D=trackID&view=All%20tracks&filterByFormula=(%7Brand%7D+%3D+'12')" \ -H "Authorization: Bearer API_KEY"

Also see Airtable API encoder and main Airtable API reference.