This repository is an AppStoreConnect api client, allow your invoke api in Rust. The full api docs
in here.
First. You need request Issuer ID, KeyId and Key in the website : https://appstoreconnect.apple.com/access/api.
Adding appstoreconnect
Run this command in your terminal to add the latest version of appstoreconnect.
shell
$ cargo add appstoreconnect
build and use the client
iss : Issuer ID
kid : KeyId
ec_der : key.p8 base64 content
```rust
async fn main() -> Result<()> { // create client let client = ClientBuilder::default() .withiss(env!("iss")) .withkid(env!("kid")) .withecder(base64::decode(env!("ecder"))?) .build()?; // get find devices let devices = client.devices(DeviceQuery { filtername: Some("mini".to_string()), ..Default::default() }).await?; Ok(()) } ```
More example : Create or list profile, certs, bundleIds please visit test.rs