Skip to content

Commit

Permalink
Finalize 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
garhow committed Feb 15, 2024
1 parent df57cc5 commit 6c3fd54
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "steam-rs"
version = "0.4.0"
version = "0.4.1"
authors = ["Garrett Howard <[email protected]>"]
edition = "2021"
description = "Safe Rust bindings for the Steam Web API"
Expand Down
9 changes: 6 additions & 3 deletions tests/steam_user_auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ mod common;
pub fn authenticate_user_ticket() {
async_test!(async {
let steam = Steam::new(&std::env::var("STEAM_API_KEY").expect("Missing an API key"));
//12900 = Audiosurf
let app_id = 12900; // Audiosurf
let ticket = &std::env::var("STEAM_GAME_TICKET").expect("Ticket should be provided");

let query = steam
.authenticate_user_ticket(
12900,
&std::env::var("STEAM_GAME_TICKET").expect("Ticket should be provided"),
app_id,
ticket,
)
.await
.unwrap();

println!("{:?}", query);
});
}

0 comments on commit 6c3fd54

Please sign in to comment.