You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I have tested this API out for a personal project.
Some of the API calls here seem to be deprecated/not work at all, such as the two channel.mp3 calls (GET and HEAD).
Some API calls not mentioned in the API docs seem to be used by Radio Garden. For example, a list of the most popular stations in Portland, OR is returned along with the standard araContentPagePlaceIdGet call. However, in the Radio Garden app I can press "See more" and it will return a longer list of stations which are popular in Portland by calling a "content/page/[channelID]/popular" endpoint, e.g. https://radio.garden/api/ara/content/page/mJ3XtgpB/popular.
The text was updated successfully, but these errors were encountered:
After some further investigation, I can see that radio.garden is indeed using the channel.mp3 calls, and they work in cURL. It might just be that they don't work in the openAPI calls, or I'm not handling the responses correctly with the auto generated typescript-node API.
Eventually used axios to make a call to the Radio Garden using the HEAD call. The HEAD call was giving 40X errors and wasn't working consistently.
The GET call actually does seem to work and redirects properly to the music stream, but it keeps streaming the call because of the redirect to a URL which won't stop streaming content. I wanted to set up a backend service that returns the stream URL and feed that URL as a string on the frontend with Howler.js.
There may be a simple way to do the above with the OpenAPI typescript API, but I didn't know how.
Today I have tested this API out for a personal project.
Some of the API calls here seem to be deprecated/not work at all, such as the two channel.mp3 calls (GET and HEAD).
Some API calls not mentioned in the API docs seem to be used by Radio Garden. For example, a list of the most popular stations in Portland, OR is returned along with the standard
araContentPagePlaceIdGet
call. However, in the Radio Garden app I can press "See more" and it will return a longer list of stations which are popular in Portland by calling a "content/page/[channelID]/popular" endpoint, e.g. https://radio.garden/api/ara/content/page/mJ3XtgpB/popular.The text was updated successfully, but these errors were encountered: