googleapis / googleapis/google-api-python-client
[QUESTION] How to get the localized price OR the user's currency (or region) code?
- 主要语言
- Python
- 星标
- 8.9k
- 派生
- 2.6k
- 平均合并
- 2 天 28 分钟
- 30 天内合并 PR
- 17
描述
I have the Google Play products saved to my database containing all the localized prices, which includes the region and currency code. But I'm struggling to find a way to get the price based on the user's currency or region. How can I achieve that?
From the user, I have only the auth code from [GamesSignInClient.requestServerSideAccess()](https://developers.google.com/android/reference/com/google/android/gms/games/GamesSignInClient#public-abstract-taskauthresponse-requestserversideaccess-string-serverclientid,-boolean-forcerefreshtoken,-listauthscope-scopes)
I was thinking about getting the user's currency or region code and query the database, or maybe a specific API call to get the product already localized, but I couldn't find anything.
贡献指南
评估
这个 Issue 还没有评估数据。