You will need the requests and authlib packages. Just run :
$ pip install requests authlibThen you need to generate an API Key from the App Store Connect portal (https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api).
In the Python code below, replace the values of KEY_ID, ISSUER_ID and PATH_TO_KEY with your own.
You can change the URL of the request you want to make with the URL variable.
Finally, if you have some query parameters to pass in, use the params parameter of requests.get() (or requests.post()).
@divyanshustaq
In app settings: https://support.appsflyer.com/hc/en-us/articles/360013555718-Finding-the-Apple-bundle-ID
I believe you can also get it via API:
https://developer.apple.com/documentation/appstoreconnectapi/list_bundle_ids