A Ruby interface to the App Store Connect API
Add this line to your application's Gemfile:
gem 'app_store_connect'
And then execute:
$ bundle
Or install it yourself as:
$ gem install app_store_connect
AppStoreConnect.config = {
issuer_id: issuer_id,
key_id: key_id,
private_key: private_key
}
app_store_connect = AppStoreConnect::Client.new
app_store_connect.apps
app_store_connect.app(id: '1234')
app_store_connect.builds(id: '1234')
app_store_connect.create_bundle_id(
name: 'Example',
identifier: 'com.kyledecot.Example',
platform: 'IOS'
)
app_store_connect.sales_reports(
filter: {
report_type: 'SALES',
report_sub_type: 'SUMMARY',
frequency: 'DAILY',
vendor_number: '123456'
}
)
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/kyledecot/app_store_connect.
The gem is available as open source under the terms of the MIT License.