MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / __init__

Method __init__

openlibrary/api.py:41–43  ·  view source on GitHub ↗
(self, base_url="https://openlibrary.org")

Source from the content-addressed store, hash-verified

39
40class OpenLibrary:
41 def __init__(self, base_url="https://openlibrary.org"):
42 self.base_url = base_url.rstrip("/") if base_url else "https://openlibrary.org"
43 self.cookie = None
44
45 def _request(
46 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected