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
use serde::{Serialize, Deserialize, de::DeserializeOwned};

pub trait ApiResponseTrait: DeserializeOwned {}

#[derive(Debug, Serialize, Deserialize)]
pub struct ApiResponse<T> {
    pub ratelimit_remaining: Option<i32>,
    pub response: T,
}