public interface Fetcher
| Modifier and Type | Method and Description |
|---|---|
LastfmResponse |
get(Map<String,String> parameters)
Perform a get request to the Last.fm API.
|
double |
getWebRequestsPerSecond()
Get the current number of requests per second.
|
LastfmResponse |
post(Map<String,String> parameters)
Perform a post request to the Last.fm API.
|
double getWebRequestsPerSecond()
LastfmResponse post(Map<String,String> parameters) throws LastfmWebServicesException
parameters - A Key/Value map of HTTP parameters.LastfmWebServicesException - Thrown on any fetching errors encountered.LastfmResponse get(Map<String,String> parameters) throws LastfmWebServicesException
parameters - A Key/Value map of HTTP parameters.LastfmWebServicesException - Thrown on any fetching errors encountered.Copyright © 2013 dontdrinkandroot. All Rights Reserved.