Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion appstoreconnect/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,24 @@ def list_app_store_version_localizations(self, app_store_version):
def modify_app_store_version_localization(self, app_store_version_localization: AppStoreVersionLocalization, description: str, keywords: str, marketingUrl: str, promotionalText: str, supportUrl: str, whatsNew: str ):
"""
:reference: https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_store_version_localization
:return: an iterator over AppInfoLocalization resources
:return: an iterator over AppStoreVersionLocalization resources
"""
return self._modify_resource(app_store_version_localization, locals())

def read_app_store_version_localization_information(self, app_store_version_localization_id):
"""
:reference: https://developer.apple.com/documentation/appstoreconnectapi/read_app_store_version_localization_information
:return: an iterator over AppStoreVersionLocalization resources
"""
return self._get_resource(AppStoreVersionLocalization, app_store_version_localization_id)

def read_app_info_localization_information(self, app_info_localization_id):
"""
:reference: https://developer.apple.com/documentation/appstoreconnectapi/read_app_info_localization_information
:return: an iterator over AppInfoLocalization resources
"""
return self._get_resource(AppInfoLocalization, app_info_localization_id)

# appStoreInfo localization
def list_app_store_info_localizations(self, app_information):
"""
Expand Down
2 changes: 1 addition & 1 deletion appstoreconnect/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class RoutingAppCoverage(Resource):
class AppInfoLocalization(Resource):
endpoint = '/v1/appInfoLocalizations'
type = 'appInfoLocalizations'
attributes = ['locale', 'name', 'privacyPolicyText', 'privacyPolicyUrl', 'subtitle']
attributes = ['locale', 'name', 'privacyPolicyText', 'privacyPolicyUrl', 'subtitle', 'privacyChoicesUrl']
relationships = {
'appInfo': {'multiple': False},
}
Expand Down