arxiv-tools
Tools for arXiv API.
Quick Start
Installation
To start using arxiv-tools, just add it to your project's dependencies in the Cargo.toml.
> cargo
Then, import it in your program.
use ArXiv;
Usage
arxiv-tools is a simple api wrapper. You just need to build and execute the query.
simple query
// build the query
let mut arxiv = from_args;
let response = arxiv.query.await;
// execute
let response: = arxiv.query.await;
// serialize into json
let response = to_string_pretty.unwrap;
query combining multiple conditions
// build the query
let args = and;
let mut arxiv = from_args;
arxiv.submitted_date;
// execute
let response = arxiv.query.await;
// serialize into json
let response = to_string_pretty.unwrap;
complex query using grouped conditions
// build the query
let args = and;
let mut arxiv = from_args;
arxiv.submitted_date;
// execute
let response = arxiv.query.await;
// serialize into json
let response = to_string_pretty.unwrap;