Created
December 2, 2020 11:59
-
-
Save zupzup/6dd786f5f70e4c66f8c52625531acdef to your computer and use it in GitHub Desktop.
Timeular Webhooks Env
This file contains hidden or 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
#[tokio::main] | |
async fn main() -> Result<(), Error> { | |
let public_url = env::var("PUBLIC_URL").expect("PUBLIC_URL needs to be set"); | |
let api_key = env::var("TMLR_API_KEY").expect("TMLR_API_KEY needs to be set"); | |
let api_secret = env::var("TMLR_API_SECRET").expect("TMLR_API_SECRET needs to be set"); | |
println!("signing in.."); | |
let token = sign_in(api_key, api_secret).await?; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment