Nike + API:是否可以获取正在进行的跑步会话的实时更新? [英] Nike+ API : Possible to obtain realtime update of ongoing running session?

查看:101
本文介绍了Nike + API:是否可以获取正在进行的跑步会话的实时更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Nike + API获得正在进行的跑步会话的实时更新?

我尝试使用API​​调用:

GET https://api.nike.com/me/sport/activities/

,但正在进行的运行会话不存在.但是,运行结束后,会话信息将通过API调用显示.

是否可以获取正在进行的运行会话的数据?

解决方案

这是不可能的,因为您依赖于要同步的活动,并且设备目前不同步活动.

Is it possible to obtain the realtime update of ongoing running session from Nike+ API ?

I tried to use API call :

GET https://api.nike.com/me/sport/activities/

but the ongoing running session doesn't exist. However, when the run is ended, the information of the session is shown by the API call.

Is it possible to obtain the ongoing running session's data?

解决方案

This isn't possible since you're dependent on the activity being synced and the device doesn't sync mid-activity (at the moment!)

这篇关于Nike + API:是否可以获取正在进行的跑步会话的实时更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆