development
md 26 lines 759 Bytes
Rendered Raw
1 # smbcloud-ascapi-core
2
3 Shared transport for the App Store Connect API: ES256 JWT auth, an HTTP
4 client that caches tokens, JSON:API envelopes, and the error type.
5
6 This is the base of the [smbcloud-ascapi](https://github.com/smbcloudXYZ/smbcloud-ascapi)
7 workspace. The domain crates add their calls to `Client` as extension
8 traits, so most users depend on one of those and get this one with it.
9
10 ```toml
11 [dependencies]
12 smbcloud-ascapi-core = "0.1"
13 ```
14
15 ```rust
16 use smbcloud_ascapi_core::{ApiKey, Client};
17
18 let api_key = ApiKey::from_p8_file("KEY_ID", "ISSUER_ID", "AuthKey.p8")?;
19 let client = Client::new(api_key);
20 ```
21
22 See the [API docs](https://docs.rs/smbcloud-ascapi-core).
23
24 ## Copyright
25
26 © 2026 PT Sigit Mitra Bangun ([smbCloud](https://smbcloud.xyz)).