Skip to content

Repository files navigation

itch-rs

Rust wrapper for the itch.io API.

  • itch-rs-core contains interfaces.
  • itch-rs-reqwest contains an implementation using reqwest.
  • itch-rs-sandbox contains an example project.

Includes

  • 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
    );

About

Rust wrapper for the itch.io API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages