Open zrx89757 opened 3 years ago
@zrx89757 Thanks for pointing this out.
What your code is requesting is localization for beta builds. What you screenshot shows is localization for a live version of your app. This info is available in the AppStoreVersionLocalization object described here: https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionlocalization/attributes
This was added in App Store Connect API v1.2 which is not supported by this library yet. It is at top priority in my TODO list but I can't tell when I'll have time to add it.
We can leave this issue open until then.
Thanks for your reply. Because of my mistake, I uploaded a screenshot in Chinese. Please see the new screenshot below. Currently, what I want to do is a tool that can be used to upload What's new for multiple languages. Because my App is adapted to 12 languages, every time a new version is released, manually uploading What's new is a painful task. The problem is, I’ve been puzzled for a long time and haven’t figured out which API to use to achieve the function.
I needed the same feature as @zrx89757, so I made my own implementation. If anyone is interested, just message me. I also saw (too late) that there is a branch with part of the request (at least there is a new AppStoreVersion resource), so I'm not sure if this issue is already covered there.
def read_app_info(): api = Api(AUTH_KEY_ID, AUTH_FILE_PATH, AUTH_ISSUER_ID, submit_stats=True) apps = api.list_apps() for app in apps: print(app.name, app.sku) pre = api.list_beta_build_localizations() x = {v.locale: v.whatsNew for v in pre} print(x)
why the code can read apps, but the beta build localizations are empty? they are all "None", as the first picture shows, I indeed inputted what's new for 'en-US', why is none by my code? If I get the concept wrong, please point it out. Any help is appreciated.