Radio Reddit API Documentation


For mobile application devs we are providing a simple interface to the current state of the Radio Reddit stream.

The resources are available as XML and JSON:
http://radioreddit.com/api/status.xml
http://radioreddit.com/api/status.json

Exmple XML (formatted for readability):

<?xml version="1.0" encoding="UTF-8"?>
<radioreddit>
	<online>TRUE</online>
	<playlist>metal / hard rock</playlist>
	<songs>
		<song>
			<title>Illumineye</title>
			<artist>American Hollow</artist>
			<redditor>playbass</redditor>
			<genre>Metal</genre>
			<reddit_title>Illumineye by American Hollow (playbass)</reddit_title>
			<reddit_url>http://www.radioreddit.com/songs/?song=American_Hollow_%28playbass%29_Illumineye</reddit_url>
			<download_url>http://radioreddit.com/audio/American_Hollow_(playbass)_Illumineye.mp3</download_url>
		</song>
		<song>
			<title>Bounce Per Ounce</title>
			<artist>Ruin</artist>
			<redditor>Psyingo</redditor>
			<genre>Electronic</genre>
			<reddit_title>Bounce Per Ounce by Ruin (Psyingo)</reddit_title>
			<reddit_url>http://www.radioreddit.com/songs/?song=Ruin_%28Psyingo%29_Bounce_Per_Ounce</reddit_url>
		</song>
		<song>
			<title>Obie the Overlord</title>
			<artist>DAE</artist>
			<redditor>Jimmy8DMT</redditor>
			<genre>Electronic</genre>
			<reddit_title>Obie the Overlord by DAE (Jimmy8DMT)</reddit_title>
			<reddit_url>http://www.radioreddit.com/songs/?song=DAE_%28Jimmy8DMT%29_Obie_the_Overlord</reddit_url>
		</song>
		...
	</songs>
</radioreddit>

The root tag radioreddit has just a few children:

  • online - returns TRUE when the main stream is online, FALSE when the stream is offline.
  • playlist (or dj) - defines the name of the playlist that is currently active or the name of the DJ currently logged in
  • and songs - has children of type song that defines several attributes of the currently playing song as well as previous songs.

The songs tag has several (8-10 depending on recent IDs and PSAs) children of type song with the following important children:

  • reddit_title - is the title we use for vote tracking via Reddit's dynamic JS buttons
  • reddit_url - is the permalink we use for vote tracking via Reddit's dynamic JS buttons
  • download_url - if the song is download enabled by the artist, this element gives the download location

How we track votes on Radio Reddit

The following JS code is shown to illustrate how we use reddit_title, reddit_url and reddit_target to track song up/down votes:

<script type="text/javascript">
  reddit_url = "http://www.radioreddit.com/songs/?song=Voodoo_Pharmacology_%28voodoopharm%29_The_Wind_from_Space";
  reddit_title = "The Wind from Space by Voodoo Pharmacology (voodoopharm)";
  reddit_target = "radioreddit";
  reddit_bgcolor = "f4f2f2";
</script>
<script type="text/javascript" src="http://www.reddit.com/static/button/button3.js">

Comments

cheapest car insurance They

cheapest car insurance They are using virtual currencies including Bitcoins and rely on numerous robots to make the right decisions.

Are you looking for the best

Are you looking for the best e-cigarette? How could you try them all? Do you need to buy one by one to try and know which one is the best? You don't need to buy all of them to try each one. Most e-cigarette manufacturers offer free e-cigarette sample for you to taste. We will give you as well. stop smoking

This article is excellent.

This article is excellent. The font used here and the information provided here is just excellent! This certainly is one of the best articles that I've read in a long time. Thanks for this! e cigarettes

Families and business owners

Families and business owners across British Columbia are selecting Active Renewable to secure their natural gas rate and participate in the Customer Choice Program.
About Active Energy

Actually your experimental

Actually your experimental writing capacities has motivated me to begin my own particular Blogengine blog now. Truly the blogging is spreading its wings quickly. Your compose up is a fine illustration of it.
Insured Profits

hüpoteeklaen

Hüpoteeklaen ehk kinnisvaralaen on mitmes mõttes paindlikum, kui pangast võetud laen ning oluliselt soodsam kui tarbimis- ning sms-laenud.
laen kinnisvata tagatisel

Regards for that diverse

Regards for that diverse superb record. Where by also could actually any person be given which in turn sort of truth. man with a van brighton

Awesome work! free hack

Awesome work! free hack

I cherish the online journal.

I cherish the online journal. Extraordinary post. It is genuine, individuals must figure out how to learn before they can learn. lol i know it sounds entertaining however it genuine. . .
Life settlements

great share

Excellent! Cheers to your

Excellent! Cheers to your files, the been recently wonderful. Cheers all over again intended for providing your data. essayplanet

I really liked the font

I really liked the font you've chose to use in this article. Could I please get the name of that font? I wanted to use it in my project now. Thanks very much! Golf Tours

This web site is really a

This web site is really a walk-through for all of the info you wanted about this and didn’t know who to ask. Glimpse here, and you’ll definitely discover it. limousine hire London

stair lifts cost

Stair lifts are widely adopted as solutions for those of us who have difficulty getting up and down the stairs. They are called many different names such as stair chairs or stairway lifts, but they all refer to the same product, the stairlift. Most stair lift buyers are simply the elderly among us who need to conserve their energy, and make life a little more comfortable. Our stair lifts have been manufactured specifically for ease of installation. A typical homeowner can perform a self installation in less than three hours using common tools. stair lifts cost

Really great post, Thank you

Really great post, Thank you for sharing This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up! Adseed

Thank you

Thank you very much for the information

elektronik sigara

Such bathrooms can still be

Such bathrooms can still be enhanced by providing better finishes such as sanitary fittings of a higher quality, apart from its layout, noted Mr Francis Koh, group chief executive of Koh Brothers Group. bet365 bingo

A simple bookmarking tool

A simple bookmarking tool that makes it easy to save, organize and share your favorite web pages. Access your bookmarks from any computer, phone or tablet. Listango works on all modern web browsers… Frédéric Labbe Chapuis

Sit id molestiae voluptate quam tempore

Cupiditate culpa, jurken online sed dolorem at facere ullam deleniti voluptatum qui illum, enim distinctio. Molestiae. Voor de gelegenheid hadden ze de sterren hun meest onhullende Goedkope Galajurken aangetroken - en die flatteerde de ene dame al meer dan de andere.Avondjurken, galajurken, 2014 nieuwste stijlen http://www.galajurken-2015.simpsite.nl/

This is a fascinating

This is a fascinating article. This is really the most fascinating article that I have seen. Thanks a lot for producing this. This really has made my day. Cheers! a2 hosting coupon

my discount coupons

Welcome to Our Online Reviews! Here you can read reviews of many of the top advertisers on the internet today. Also, we offer great savings on purchases in the form of Coupons and Promotion Codes.
my discount coupons

I did enjoy reading articles

I did enjoy reading articles posted on this site, keep posting
Download Game PC, Android Dan Software Gratis

I must say that a succesful

I must say that a succesful family owned business in this day and age is a very refreshing sight ! As well as this is a very refreshing site. Forta For Woman

First and foremost You got an

First and foremost You got an extraordinary web journal .I will be intrigued by more comparative points. i see you got truly extremely valuable themes , i will be continually checking your web journal much obliged.
Support for hotmail

It is great to have the

It is great to have the opportunity to read a good quality article with useful information on topics that plenty are interested on.I concur with your conclusions and will eagerly look forward to your future updates. Shell Marine products

I think this is an

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. advertising agency nh

This web site is really a

This web site is really a walk-through for all of the info you wanted about this and didn’t know who to ask. Glimpse here, and you’ll definitely discover it. Plumbers in Peabody MA

This content is written very

This content is written very well. Your use of formatting when making your points makes your observations very clear and easy to understand. Thank you. commercial roofing in Boston Ma

What a fantastic post this

What a fantastic post this is! This is one of the best post that I have seen in a long time. Thanks you very much for producing this. I really appreciate it! invest wisely

First You got a great blog .I

First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics. web design london

I visited your site & after

I visited your site & after visiting i found that it is very informational for everyone you have done really a great job thank you. stable doors

For men and women who want to

For men and women who want to look younger, a lot of methods can already be employed to turn this dream into a reality. Some people are somehow afraid of the risks involved in injections and surgical procedures. But there is no reason to fret because wrinkle creams are there to the rescue – if you are willing to wait for the results to show. eye cream for dark circles

I must say that a succesful

I must say that a succesful family owned business in this day and age is a very refreshing sight ! As well as this is a very refreshing site. online tamashebi

People nowadays love to mess

People nowadays love to mess with nature and that includes the natural process of aging. Instead of accepting the fact that the skin will normally sag and show lines as the next page of the calendar is turned, people often resort to surgical procedures, Botox injections and other drastic measures just to look young for a longer period of time. best dark circle eye cream

Thank you for your post, I

Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me. מאמרים

I feel really happy to have

I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details. cheap cigarettes

This content is written very

This content is written very well. Your use of formatting when making your points makes your observations very clear and easy to understand. Thank you! curly haircuts for women

Thanks for a wonderful share.

Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. foods to lose weight

It appears as though spent

It appears as though spent lots of time and effort in your blog. I’ve saved it and i’m searching toward reading through new articles. healthy fast food

Thanks for a wonderful share.

Thanks for a wonderful share. Your article has importaciones your hard work and experience you have got in This field. Brilliant reading .I love it. makeup looks

Your blogs further more each

Your blogs further more each else volume is so entertaining further serviceable It appoints me befall retreat encore. I will instantly grab your rss feed to stay informed of any updates.best method of potty training

I visited your site & after

I visited your site & after visiting i found that it is very informational for everyone you have done really a great job thank you. makeup styles

I definitely really liked

I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. green eye makeup

I definitely really liked

I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. cleaning makeup brushes

Excellent article. Very

Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.
site

Great tips and very easy to

Great tips and very easy to understand. This will definitely be very useful for me when I get a chance to start my blog. cute makeup ideas

Excellent read, Positive

Excellent read, Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. natural makeup looks

Pretty good post. I just

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. summer makeup

As an executive career coach,

As an executive career coach, I am often asked to look at, or critique, a senior level candidates’ executive resume. There are many styles of CV, but as part of my career counselling and career coaching service, the CV often stands out as the one stumbling block that can prevent you from getting enough job interviews. Schuco Doors

I am always searching online

I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. goth makeup

help tools

brothers

Quantcast