List subject
API for retrieving the Subject Index list.
Query parameters¶
chapter string or array Optional¶
The chapter name of interest in the Subject Index.
Example request¶
- AsyncIO is Python's built-in library for writing concurrent code with the async/await syntax.
- This is optional and is imported in this example to show how to export the result to a CSV file using pandas.
-
Clicking on the Chapters name in Subject Index window in the Web UI opens related content with query parameter
chapter
applied.The value of the
chapter
key is exactly the value of the query parameter.
- To get the table IDs, you must split them with a comma and trim.
- This is the displayed paragraph name in Subject Index window in the Web UI. Clicking on it opens a list of all tables stored in the key
table_ids
.
Note
Many table IDs are joined and stored as string in the original SciGlass database, but they are separated by either ,
(comma) or (space) or ASCII characters like
(This is not space) or \x7f
.
The developer is currently keeping it as it was. This decision may change in future updates to improve performance and maintainability.