IHeartRadio API for Node.js
This is a FAN module of IHeartRadio's API. Parameters may change as more get discovered or found.
Examples
Searching
const ihr = ;ihr;
Getting Stream Info
const ihr = ;ihr;
Getting Album Info
const ihr = ;ihr;
Options
All options are included in one object found in the example at the bottom.
URL Options
secure#boolean
- Changes from https to http.
Query Options
getAlbumInfo
- As of right now there are no known queries.
getSteamInfo
- As of right now there are no known queries.
search
maxRows#number
- Changes the amount of results you'll get.bundle#boolean
- Change to false to allow individual output using the options below.station#boolean
- Allow stations in output.artist#boolean
- Allow artists in output.album#boolean
- Allow albums in output.track#boolean
- Allow tracks in output.playlist#boolean
- Allow playlists in output.podcast#boolean
- Allow podcasts in output.
countryCode#string
- The country in which to use the URL. If you usedUS
for example, it'd use us.api.iheart.com and add &countryCode=US to the request URL.startIndex#number
- Possibly used for pagination.
Example
const ihr = ;ihr;