Asca
An apple app store connect api wrapper based on ruby!!!
Why ruby?
Every mac's ready for ruby out of the box!!!
Installation
Install from rubygem.org
gem install asca
Install from github
gem install specific_install
gem specific_install https://github.com/xueminghao/appstoreconnectapi.git
What you need
- App store connect key id
- App store connect issuer ID
- App store connect private key
For more details for how and where to get these info, you can refer to the App Store Connect API
Usage
First of all, one should setup a its credentials as described above. Then you can ever call basic REST apis or call the useful tools. To call a tools use --tools [tool-name], to call a api use --api [api-name]
- Register device tool. Which register a new device to your current team and update the specified provisioning files
asca --tool register-device --udid [udid] --name [device-name] --profile-names [profile-names]
- Download provisioning file tool. Which download specified provisioning file to local disk and install it as needed
asca --tools download-profile --name [profile-name] --auto-install
- Call device get api, you can call list the all registered devices.
asca --api device --method get
- Register a device only
asca --api device --method post --udid [udid] --name [device-name]
TODO
Fulfill all of the REST apis
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/xueminghao/appstoreconnectapi. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.