plugin¶
Attributes¶
Classes¶
This class represents the Open Library plugin, which is a subclass of OMEPlugin. |
Module Contents¶
- plugin.unused¶
- class plugin.OpenLibraryPlugin¶
Bases:
server.plugins.ome_plugin.OMEPlugin
This class represents the Open Library plugin, which is a subclass of OMEPlugin. It provides functionality to create metadata cards from URLs or JSON payloads.
- mimetypes: tuple[str] = ('application/vnd.openlibrary.authors+json', 'application/vnd.openlibrary.work+json')¶
- newsgroups: dict[str, str]¶
- make_metadata_card_from_url(url: str) server.plugins.ome_plugin.EducationResource ¶
This method creates a metadata card from a given URL. It currently does not implement any functionality.
- make_metadata_card_from_json(json_payload: str) server.plugins.ome_plugin.EducationResource ¶
This method creates a metadata card from a given JSON payload. It currently does not implement any functionality.
- plugin.json_path¶