package io.hefuyi.listener.api;
import io.hefuyi.listener.api.model.ArtistInfo;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;
/**
* Created by hefuyi on 2016/11/3.
*/
public interface LastFmApiService {
String BASE_PARAMETERS_ARTIST = "?method=artist.getinfo&api_key=fdb3a51437d4281d4d64964d333531d4&format=json";
@GET(BASE_PARAMETERS_ARTIST)
Observable<ArtistInfo> getArtistInfo(@Query("artist") String artist);
}