}
public List<Source> all(int range) throws APIException, IOException {
List<Source> list = Lists.newArrayList();
SourcesResponse response = api.path(routes.SourcesResource().list(), SourcesResponse.class)
.queryParam("range", range)
.timeout(apiTimeout("sources_all", 20, TimeUnit.SECONDS))
.execute();
for (Map.Entry<String, Long> source : response.sources.entrySet()) {