How to pull data from Xively without authentication?

心不动则不痛 提交于 2019-12-26 05:04:32

问题


Im trying to pull data from xively.com to my android phone. The problem that i have is that i need to authenticate myself before being able to see the data. However, according the documentation here, if the data is public, then everyone should have the access to it. Im trying to see the results of this dummy device: https://api.xively.com/v2/feeds/1549265960, but i cant without login!

Thanks for all the help i can get!


回答1:


I found out after some testing, that the proper way of using the key is as the following:

https://api.xively.com/v2/feeds/FEED_ID?key=API_KEY

its really weird that it isnt written anywhere in the xively documentation. All they say is that you can use your key to access data. This link here helped me figure it out indirectly after some tests.



来源:https://stackoverflow.com/questions/30711319/how-to-pull-data-from-xively-without-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!