You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . NPR . StoryFinder . MusicGenres
Retrieves a list of NPR music genres and corresponding IDs. Also used to look up the IDs of specific NPR music genres by specifying those as an optional parameter.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo retrieves a list of all NPR music genres along with the corresponding ID for each. The Choreo can also be used to look up the IDs of specific music genres by specifying them in the optional MusicGenre parameter. The documentation for accessing NPR music genres lists and IDs can be found here.
An API Key is not required to run this choreo. When run without inputs, the Choreo returns a list of all NPR music genres along with the ID for each genre in the Response output variable. The Id output variable in this case will be empty.
This Choreo can also be used to look up the IDs of particular music genres by specifying them in the optional MusicGenre parameter. Here's an example of acceptable inputs that take advantage of the Choreo's lookup feature:
MusicGenre: Blues,Jazz
The following is the information returned by this Choreo in the Id output variable:
139998151,10002
The following is a partial excerpt from the XML information returned by this Choreo in the Response output variable:
<?xml version="1.0" encoding="UTF-8"?> <list id="3018" typeid="3018"> <title>All Genres</title> <item id="139998151" num="1" storycountall="51" storycountmonth="3" storycounttoday="1" type="genre"> <title>Blues</title> <additionalInfo>NPR Music stories that feature blues music.</additionalInfo> </item> <item id="10003" num="2" storycountall="1018" storycountmonth="31" storycounttoday="1" type="genre"> <title>Classical</title> <additionalInfo>Classical music performances and features from NPR news, NPR cultural programs, and NPR Music stations.</additionalInfo> </item> <item id="92792712" num="3" storycountall="194" storycountmonth="7" storycounttoday="0" type="genre"> <title>Country</title> <additionalInfo>Performances and stories featuring traditions and innovations in American roots and country music.</additionalInfo> </item> <item id="135408474" num="4" storycountall="207" storycountmonth="9" storycounttoday="0" type="genre"> <title>Electronic/Dance</title> <additionalInfo>Explore NPR Music's collection of stories and songs in the electronica/dance genre.</additionalInfo> </item> <item id="139999257" num="5" storycountall="307" storycountmonth="27" storycounttoday="1" type="genre"> <title>Folk</title> <additionalInfo>NPR Music stories featuring folk music.</additionalInfo> </item> <item id="10005" num="6" storycountall="1042" storycountmonth="9" storycounttoday="0" type="genre"> <title>Hip-Hop/R&B</title> <additionalInfo>Urban music and features from NPR news, NPR cultural programs, and NPR Music stations.</additionalInfo> </item> <item id="10002" num="7" storycountall="3645" storycountmonth="38" storycounttoday="5" type="genre"> <title>Jazz</title> <additionalInfo>Jazz and blues music performances and features from NPR news, NPR cultural programs, and NPR Music stations.</additionalInfo> </item> <item id="139996449" num="8" storycountall="178" storycountmonth="6" storycounttoday="0" type="genre"> <title>Latin Alternative</title> <additionalInfo>NPR Music stories featuring Latin Alternative music.</additionalInfo> </item> <item id="139997200" num="9" storycountall="178" storycountmonth="15" storycounttoday="0" type="genre"> <title>Pop</title> <additionalInfo>NPR Music stories that discuss pop music.</additionalInfo> </item> <item id="139998808" num="10" storycountall="135" storycountmonth="12" storycounttoday="0" type="genre"> <title>R&B/Soul</title> <additionalInfo>NPR Music stories that feature R&B and soul music.</additionalInfo> </item> <item id="10001" num="11" storycountall="5252" storycountmonth="76" storycounttoday="2" type="genre"> <title>Rock</title> <additionalInfo>Rock, pop, and folk music performances and features from NPR news, NPR cultural programs, and NPR Music stations.</additionalInfo> </item> <item id="10004" num="12" storycountall="1727" storycountmonth="16" storycounttoday="0" type="genre"> <title>World</title> <additionalInfo>World music and features from NPR news, NPR cultural programs, and NPR Music stations.</additionalInfo> </item> </list>
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms