Download the PHP package cantie/app-store-connect-api without Composer
On this page you can find all versions of the php package cantie/app-store-connect-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cantie/app-store-connect-api
More information about cantie/app-store-connect-api
Files in cantie/app-store-connect-api
Package app-store-connect-api
Short Description A PHP client library for accessing App Store Connect APIs
License MIT
Informations about the package app-store-connect-api
App Store Connect APIs Client Library for PHP
This library enables the automation of actions you take in App Store Connect. Its client was modified from Google API PHP Client and i just added some resources for App Store Connect APIs.
Installation
The preferred method is via composer. Follow the installation instructions if you do not already have composer installed.
Once composer is installed, execute the following command in your project root to install this library:
Examples
See the examples/
directory for examples of some APIs. You can
view them in your browser by running the php built-in web server.
And then browsing to the host and port you specified
(in the above example, http://localhost:8000
).
Basic Example
Create new client
Making a request
For almost all request except upload service, we use AppStore service to handle
For detail, you can view in src/Services/AppStore/Resource/*
Aliases
Basic classes are aliased for convenient use, see more at src/aliases.php
Upload assets to App Store Connect
In this example we will upload one screenshot file to app screenshot set
Initialize classes
All object classes are extended from Model.php can be initialized by an array of attribute names and values, as previous example:
Caching
JWT token are cached for 10 minutes and only be created if doesn't existed or has been expired. JWT token is not shared between clients. Each client has its own token as defined in src/Client.php
All versions of app-store-connect-api with dependencies
google/auth Version ^1.28
guzzlehttp/guzzle Version ^7.0.1
nesbot/carbon Version ^2.31
firebase/php-jwt Version ~6.0
monolog/monolog Version ^2.9||^3.0