Open jessicaschilling opened 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.
trackID
type
,orquesta
,singer
,year
,spotifyID
,prettyTitle
trackID
s that ...type
orquesta
singer
(contain, so that if a track only has one singer, it can match multi-singer tracks containing that one singer)year
value within +-3 on either sideprettyTitle
trackID
strackID
s