将数据从 parse.com 导出为 xls 格式
我这样做是为了从 parse.com 获取结果,
curl -X GET \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
https://api.parse.com/1/classes/GameScore
我也可以使用“cat”命令将其发送为 .xls 格式,
curl -X GET \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
https://api.parse.com/1/classes/GameScore > gamescore.xls
但它很混乱,它不会对每个值进行排序和分类到表中,这就是我正在寻找的因为,请有人帮助我!
谢谢..
i did this to get the result from parse.com
curl -X GET \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
https://api.parse.com/1/classes/GameScore
i can also send it to a .xls format with "cat" command
curl -X GET \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
https://api.parse.com/1/classes/GameScore > gamescore.xls
but its a mess, it doesn't sort and class each value into a table and it is what i am looking for, please someone help me!
Thanks..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果要按分数排序(降序),请添加 -G --data-urlencode 'order=-score'
如果您确实想导出整个集合(即您想离开 Parse),您还应该查看 Parse 的一键导出 http://blog.parse.com/2012/03/09/one-click-export/
If you want to sort by score (descending), add -G --data-urlencode 'order=-score'
If you are really want to export your entire collection (i.e. you want to leave Parse) you should also check out Parse's one-click export at http://blog.parse.com/2012/03/09/one-click-export/