-1
我想要使用goggleapi從Googlefit中檢索用戶配置文件信息。但我沒有找到任何網址端點的用戶配置文件。請任何人都可以建議如何檢索配置文件?Googlefit API集成獲取用戶配置文件
我想要使用goggleapi從Googlefit中檢索用戶配置文件信息。但我沒有找到任何網址端點的用戶配置文件。請任何人都可以建議如何檢索配置文件?Googlefit API集成獲取用戶配置文件
在請求訪問代碼的同時設置用戶加個人資料和user.info的範圍,並且您將能夠獲取用戶信息。
我已經提供了這些範圍「https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/fitness.activity.read https://www.googleapis.com /auth/fitness.activity.write https://www.googleapis.com/auth/fitness.body.read https://www.googleapis.com/auth/fitness.body.write https://www.googleapis。 com/auth/fitness.location.read https://www.googleapis.com/auth/fitness.location.write「但是我沒有找到一個url結尾poitn來獲取用戶配置文件,如gplus中的」https:// www .googleapis.com/plus/v1/people/me /?access_token = {YOUR_ACCESS_TOKEN}。 –
使用https://www.googleapis.com/auth/userinfo.email作爲另一個範圍來獲取電子郵件 –