Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use AppStore connect API with my mac, announced in WWDC18?

I have seen the demo in WWDC18 related video here:

https://developer.apple.com/videos/play/wwdc2018/303/

but it is not from the scratch. I don't see that which tool they have used and where we need to start it. Can anyone help with it?

like image 562
Satish Mavani Avatar asked Mar 06 '23 01:03

Satish Mavani


2 Answers

I watched that video too today and I wanted to use these API features, as for now 19-6-2018 this is still marked as coming soon... based on the App Store Connect website https://developer.apple.com/app-store-connect/

In addition, the new API Keys tab under the main App Store Connect is not available yet.This is the starting point to issue / create the API keys.

I am on look out and waiting...

Apple still shows it as coming soon as of 19-6-2018

like image 95
Ahmad Al-Baqawi Avatar answered Mar 17 '23 05:03

Ahmad Al-Baqawi


The App Store Connect API is now available. You can find out more here:

https://developer.apple.com/app-store-connect/api/

The general steps are:

  1. Request access to the API.

    Your Team Agent (with the Legal role) will need to do this part.

  2. Create and download an API key.

    Anyone with Admin access can do this. Each key you create can only be downloaded once, and should be kept safe.

  3. Use the information on the Keys tab + your private key to generate a token.

    You can find libraries for many languages to make this easy here.

  4. Supply the JWT as a bearer token in the HTTP Authorization header when making requests.

For example:

GET https://api.appstoreconnect.apple.com/v1/apps
Authorization: Bearer XYZ123

Where XYZ123 is your JWT. (Your real JWT will be much longer.)

Available API endpoints are documented here:

https://developer.apple.com/documentation/appstoreconnectapi

like image 34
gwcoffey Avatar answered Mar 17 '23 03:03

gwcoffey