Package com.github.hakko.musiccabinet.ws.lastfm

Examples of com.github.hakko.musiccabinet.ws.lastfm.ArtistTopTracksClient


   
    // create a throttling service that allows calls at any rate
    ThrottleService throttleService = mock(ThrottleService.class);

    // create a client that allows all calls and returns Cher top tracks
    ArtistTopTracksClient attClient = new ArtistTopTracksClient();
    attClient.setWebserviceHistoryService(historyService);
    attClient.setHttpClient(httpClient);
    attClient.setThrottleService(throttleService);

    return attClient;
  }
View Full Code Here

TOP

Related Classes of com.github.hakko.musiccabinet.ws.lastfm.ArtistTopTracksClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.