예제 #1
0
 public GoodReadsDataSource(IPreferenceService preferenceService)
 {
     _preferenceService = preferenceService;
     _client            = GoodreadsClient.Create(
         preferenceService.Get("goodreads.apikey", "ckvsiSDsuqh7omh74ZZ6Q"), // todo: this is the lazylibrarian key...
         preferenceService.Get("goodreads.apisecret", "")
         );
 }
예제 #2
0
 public GoodReadsApi()
 {
     this._client = GoodreadsClient.Create(Constants.GoodReadsApiKey, Constants.GoodReadsApiSecret);
 }
 public GoodreadsApi(string apiKey, string apiSecret)
 {
     client = GoodreadsClient.Create(apiKey, apiSecret);
 }