sfuhrm / radiobrowser4j

RadioBrowser Java API library
Other
50 stars 8 forks source link

Change endpoint for listCountryCodes #150

Closed kalwinskidawid closed 3 days ago

kalwinskidawid commented 5 days ago

Instead of requesting json/countries it is better to request json/countrycodes - less bytes from the response, faster processing :) https://github.com/sfuhrm/radiobrowser4j/blob/8f8ac8c7c08207264902d4d24dfd87a4bbd2379e/radiobrowser4j/src/main/java/de/sfuhrm/radiobrowser4j/RadioBrowser.java#L127

return retrieveValueStationCountList("name", "json/countrycodes");
kalwinskidawid commented 3 days ago

Ouh, api endpoint is deprecated, sorry

sfuhrm commented 2 days ago

No worries :)