コード例 #1
0
ファイル: GoodReadsDataSource.cs プロジェクト: pofo14/Pulsarr
 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);
 }
コード例 #3
0
 public GoodreadsApi(string apiKey, string apiSecret)
 {
     client = GoodreadsClient.Create(apiKey, apiSecret);
 }