Code Monkey home page Code Monkey logo

appstoreconnect-rs's Introduction

app store connect

This repository is an AppStoreConnect api client, allow your invoke api in Rust. The full api docs in here.

Easily to use

  1. First. You need request Issuer ID, KeyId and Key in the website : https://appstoreconnect.apple.com/access/api.

  2. Adding appstoreconnect

    Run this command in your terminal to add the latest version of appstoreconnect.

    $ cargo add appstoreconnect
  3. build and use the client

    iss : Issuer ID
    kid : KeyId
    ec_der : base64 text in key.p8 remove \n

    #[tokio::main]
    async fn main() -> Result<()> {
        // create client
        let client = ClientBuilder::default()
            .with_iss(env!("iss"))
            .with_kid(env!("kid"))
            .with_ec_der(base64::decode(env!("ec_der"))?) 
            .build()?;
        // get find devices
        let devices = client.devices(DeviceQuery {
                    filter_name: Some("mini".to_string()),
                    ..Default::default()
                }).await?;
        Ok(())
    }
  4. More example : Create or list profile, certs, bundleIds please visit test.rs

features

  • App Store
    • Apps
      • List Apps
      • Modify an App
    • Builds
  • Bundle IDs
    • List Bundle IDs
    • Register New Bundle ID
    • List Bundle ID capabilities
  • Bundle ID Capabilities
  • Certificates
    • List and Download Certificates
    • Create a Certificate
    • Revoke a Certificate
  • Devices
    • Register a New Device
    • List Devices
  • Profiles
    • Create a Profile
    • List and Download Profiles
    • Delete a Profile
  • Users
    • List users
    • Read User Information
    • Modify a User Account
    • App Accesses
      • List All Apps Visible to a User
      • Add Visible Apps to a User
      • Remove Visible Apps from a User
  • User Invitations
  • Sandbox Testers

appstoreconnect-rs's People

Contributors

niuhuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.