Note that there are some explanatory texts on larger screens.

plurals
  1. POSearch by geo filter with soundcloud api
    primarykey
    data
    text
    <p>When attempting to search for tracks based on 'geo' filter I always get back zero results. According to the documentation you can use ***** as a wildcard to search lat/lon ranges that exist in the 'tag-list' of each track in the server response. And we use the 'tags' filter when issuing our POST request.</p> <p>For example</p> <pre><code>HttpResponse response = api.get("/tracks?tags=geo:lat%3D52.0*", null); </code></pre> <p>returns zero results.</p> <p>I have also tried omitting the 'geo:' namespace reference, tried all sorts of variations of the lat/lon string for example <strong>'lat=52.0' 'geo:lat=52.0*'</strong>. Tried both urlencoded and non urlencoded values, nothing seems to work.</p> <p>If i just do</p> <pre><code>HttpResponse response = api.get("/tracks?tags=geo:", null); </code></pre> <p>This will bring back results that have a geo location referenced in the tag list, so there are tracks in the data base that have been geo tagged for sure! I have copied one of these geo: locations from a random track into the POST params of the api request and it doesnt find the track.</p> <p>One more person to my knowledge has filed this issue on SO a month ago, using JQuery <a href="https://stackoverflow.com/questions/15233098/soundcloud-api-geo-tag-search-not-working">Soundcloud api: Geo Tag search not working</a></p> <p>Any help would be greatly appreciated.</p> <p>(FYI the null parameter in the code I use above is just another option of passing The post parameters, you have the choice to use A NameValuePair Object, Ive tried it this way too but had no success [when searching on geo filter])</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload