Created
October 29, 2020 13:22
-
-
Save zupzup/56cf8fd004ea419680a87da575b24450 to your computer and use it in GitHub Desktop.
Timeular Public API Deps and Constants
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use once_cell::sync::Lazy; | |
use reqwest::Client; | |
use serde::{Deserialize, Serialize}; | |
use std::env; | |
use tokio::fs; | |
type Error = Box<dyn std::error::Error>; | |
static CLIENT: Lazy<Client> = Lazy::new(|| Client::new()); | |
const BASE_URL: &str = "https://api.timeular.com/api/v3"; | |
const REPORT_FILE: &str = "./report.csv"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment