Google Fit API รวมถึง Google Fit REST API จะใช้งานไม่ได้อีกต่อไปหลังจากวันที่ 30 มิถุนายน 2025 ตั้งแต่วันที่ 1 พฤษภาคม 2024 นักพัฒนาแอปจะลงชื่อสมัครใช้ API เหล่านี้ไม่ได้
เมื่อสร้างแอปพลิเคชัน ให้ลงทะเบียนแอปพลิเคชันโดยใช้คอนโซล Google API จากนั้น Google จะให้ข้อมูลที่คุณต้องใช้ในภายหลัง เช่น รหัสไคลเอ็นต์และรหัสลับไคลเอ็นต์
เปิดใช้งาน Fitness API ในคอนโซล Google API (หาก API ไม่อยู่ในรายการ
คอนโซล API ให้ข้ามขั้นตอนนี้)
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-06-25 UTC"],[[["All requests to the Google Fitness API require an OAuth 2.0 authorization token to identify your application and grant access."],["Applications need to be registered using the Google API Console, activate the Fitness API, and potentially undergo a verification process depending on the requested data types and their sensitivity."],["Access to user data is granted through a user consent screen, providing your application with a short-lived access token upon approval."],["Data type access corresponds to specific scopes, necessitating review of scope requirements for your application's desired functionalities."]]],[]]