The provider models the data in OneNote into a list of tables that can be queried using standard SQL statements.
Generally, querying OneNote tables is the same as querying a table in a relational database. Sometimes there are special cases, for example, including a certain column in the WHERE clause might be required to get data for certain columns in the table. This is typically needed for situations where a separate request must be made for each row to get certain columns. These types of situations are clearly documented at the top of the table page linked below.
CData Python Connector for OneNote Tables
|Notebooks||Retrieves all Notebooks for the authenticated user.|
|SectionGroups||Retrieves all SectionGroups accross notebooks for the authenticated user.|
|Sections||Retrieves all Sections accross notebooks for the authenticated user.|