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