def __init__(self, base_url, api_key, fetcher=None, edition=''):
     self.base_url = base_url
     self.api_key = api_key
     self.edition = edition
     self.fetcher = fetcher
     if not self.fetcher:
         self.fetcher = fetchers.best_fetcher()
Beispiel #2
0
 def __init__(self, base_url, api_key, fetcher=None, edition=''):
     self.base_url = base_url
     self.api_key = api_key
     self.edition = edition
     self.fetcher = fetcher
     if not self.fetcher:
         self.fetcher = fetchers.best_fetcher()
 def __init__(self, api_key, fetcher=None):
     self.api_key = api_key
     self.fetcher = fetcher or fetchers.best_fetcher()