<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to How To</title><link>https://sourceforge.net/p/shoutcastapi/wiki/How%2520To/</link><description>Recent changes to How To</description><atom:link href="https://sourceforge.net/p/shoutcastapi/wiki/How%20To/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 12 Jul 2016 13:40:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/shoutcastapi/wiki/How%20To/feed" rel="self" type="application/rss+xml"/><item><title>How To modified by Ortega</title><link>https://sourceforge.net/p/shoutcastapi/wiki/How%2520To/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ortega</dc:creator><pubDate>Tue, 12 Jul 2016 13:40:45 -0000</pubDate><guid>https://sourceforge.netd5b149a029798dfd5a97f1c783f99860ea5c7bc4</guid></item><item><title>How To modified by Ortega</title><link>https://sourceforge.net/p/shoutcastapi/wiki/How%2520To/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,3 +1,4 @@
+:::java
 Contructor
 ShoutCastAPI sc = new ShoutCastAPI("YOU-API-KEY");
 //Get station by genre
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ortega</dc:creator><pubDate>Tue, 12 Jul 2016 13:35:29 -0000</pubDate><guid>https://sourceforge.netf0030db68877bc20cfecfbec4dd8963cc3a749e0</guid></item><item><title>How To modified by Ortega</title><link>https://sourceforge.net/p/shoutcastapi/wiki/How%2520To/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Contructor&lt;br/&gt;
ShoutCastAPI sc = new ShoutCastAPI("YOU-API-KEY");&lt;br/&gt;
//Get station by genre&lt;br/&gt;
StationlistTypeByGenre stations = sc.getStationByGenre("Blues", null, null, "audio/mpeg");&lt;br/&gt;
List&amp;lt;StationTypeByGenre&amp;gt; stationLists = stations.getStation();&lt;br/&gt;
for (StationTypeByGenre stationList : stationLists) {&lt;br/&gt;
      System.out.println(stationList.getName());&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;//Get primary genres&lt;br/&gt;
List&amp;lt;GenreTypePrimary&amp;gt; genres = sc.getPrimaryGenres();&lt;br/&gt;
for (GenreTypePrimary genre : genres) {&lt;br/&gt;
     System.out.println("PG: " + genre.getName() + "(" + genre.getCount() + ")");&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;//Get secondary genres&lt;br/&gt;
List&amp;lt;GenreTypeSecondary&amp;gt; genres = sc.getSecondaryGenres(false);&lt;br/&gt;
System.out.println(genres.size());&lt;br/&gt;
for (GenreTypeSecondary genre : genres) {&lt;br/&gt;
     System.out.println("PG: " + genre.getName() + "(" + genre.getCount() + ")");&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;//Get top 500&lt;br/&gt;
List&amp;lt;StationType&amp;gt; sType = sc.getTop500Stations(5, null, "audio/mpeg");&lt;br/&gt;
for (StationType station : sType) {&lt;br/&gt;
      System.out.println("STATION: " + station.getCt() + ", " + station.getGenre() + ", " + station.getMt() + ", " + station.getName() + ", " + station.getBr() + ", " + station.getId() + ", " + station.getLc());&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;//List all genres&lt;br/&gt;
List&amp;lt;GenreType&amp;gt; gType = sc.getAllGenres();&lt;br/&gt;
for (GenreType genre : gType) {&lt;br/&gt;
      System.out.println("GENRE: " + genre.getName());&lt;br/&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ortega</dc:creator><pubDate>Tue, 12 Jul 2016 13:26:50 -0000</pubDate><guid>https://sourceforge.nete8356dbef7df0e50012ca5ca2fdc2ebbad30a6e7</guid></item></channel></rss>