Easy to use library to read Notion DataBase using the NotionAPI.
Please note that this library is not officially supported by the Notion team.
```rust // Setup notion API client let mut client = crate::client::NotionClient::default(); client.seturl("You data-base url"); client.settoken("Your token");
// Get the data-base (send a request and return the json result) let database = client.getdatatablesync().unwrap();
// Parser of the data-base
let parser = crate::parser::NotionResponseParser::new(database);
// Convert the json to a Vec
// Parse an element base on the line and column names let version = parser.parseelement(datatable.get(&parser, "Line Title", "Column Name").unwrap().1);
// Print the result println!("Version of \"Line Title\": {:?}", version); ```