Rust wrapper for the itch.io API.
itch-rs-corecontains interfaces.itch-rs-reqwestcontains an implementation usingreqwest.itch-rs-sandboxcontains an example project.
-
itch_client.login().with_oauth_code( grant_type: &str, auth_code: &str, code_verifier: &str, redirect_uri: &str, client_id: &str );
-
itch_client.profile().get_owned_keys(page: NonZeroU32);
-
itch_client.profile().get_all_owned_keys();
-
itch_client.uploads().get_upload( upload_id: Id, download_key_id: Option<Id> );
-
itch_client.uploads().get_builds( upload_id: Id, download_key_id: Option<Id> );
-
itch_client.uploads().get_all_builds( upload_id: Id, download_key_id: Option<Id> );
-
itch_client.builds().get_build( build_id: Id, download_key_id: Option<Id> );
-
itch_client.builds().download( build_id: Id, file_type: BuildFileType, file_sub_type: BuildFileSubType, download_key_id: Id );