open_education_network.open_education_network_models¶
Attributes¶
Classes¶
License information for an Open Education Network textbook. |
|
A child subject for an Open Education Network textbook. |
|
A subject entry for an Open Education Network textbook. |
|
A contributor (author, editor, etc.) for an Open Education Network textbook. |
|
A format (eBook, PDF, etc.) for an Open Education Network textbook. |
|
A single textbook record as returned by the Open Education Network API. |
|
A list of Open Education Network textbooks. |
Module Contents¶
- class open_education_network.open_education_network_models.OENLicense(/, **data: Any)¶
Bases:
pydantic.BaseModelLicense information for an Open Education Network textbook.
- name: str = None¶
- abbreviation: str = None¶
- url: str = None¶
- class open_education_network.open_education_network_models.OENChildSubject(/, **data: Any)¶
Bases:
pydantic.BaseModelA child subject for an Open Education Network textbook.
- name: str = None¶
- class open_education_network.open_education_network_models.OENSubject(/, **data: Any)¶
Bases:
pydantic.BaseModelA subject entry for an Open Education Network textbook.
- name: str = None¶
- child_subject: OENChildSubject = None¶
- class open_education_network.open_education_network_models.OENContributor(/, **data: Any)¶
Bases:
pydantic.BaseModelA contributor (author, editor, etc.) for an Open Education Network textbook.
- first_name: str = None¶
- last_name: str = None¶
- contribution_type: str = None¶
- property full_name: str¶
Return the contributor’s full name.
- class open_education_network.open_education_network_models.OENFormat(/, **data: Any)¶
Bases:
pydantic.BaseModelA format (eBook, PDF, etc.) for an Open Education Network textbook.
- format: str = None¶
- url: str = None¶
- class open_education_network.open_education_network_models.OENTextbook(/, **data: Any)¶
Bases:
pydantic.BaseModelA single textbook record as returned by the Open Education Network API.
Endpoint: GET https://open.umn.edu/opentextbooks/textbooks.json
- id: int = None¶
- title: str = None¶
- description: str = None¶
- url: str = None¶
- cover_url: str = None¶
- license: OENLicense = None¶
- subjects: list[OENSubject] = None¶
- contributors: list[OENContributor] = None¶
- property authors: list[str]¶
Return a list of author names.
- property subject_tags: list[str]¶
Return a flat list of subject and child-subject names.
- class open_education_network.open_education_network_models.OENTextbookList¶
Bases:
pydantic.RootModel[list[OENTextbook]]A list of Open Education Network textbooks.
- open_education_network.open_education_network_models.here¶