core_api_client 1.1.0

A Rust library for interacting with CORE API, a service that provides access to metadata and full texts of research papers from thousands of data providers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug)]
pub enum Error {
    InvalidApiKey,
    Request(reqwest::Error),
    Parsing(String),

}

impl From<serde_json::Error> for Error {
    fn from(err: serde_json::Error) -> Error {
        Error::Parsing(err.to_string())
    }
}