[英]Is there any way to retrieve a user submissions statistics through a Rest call on spoj?
I am trying to develop a site which allows user to create developer profiles. 我正在尝试开发一个允许用户创建开发人员配置文件的站点。 I would like to link it with spoj, so that, I can show his submissions, passed/failed in the profile page .
我想将它与spoj链接,这样,我可以在个人资料页面中显示他的提交,通过/失败。
I would like to know Does spoj has any REST api support to fetch the user statistics. 我想知道spoj是否有任何REST api支持来获取用户统计信息。 or any URL patterns like
/stats/username
which will return a Html page upon which I can scrap for useful data . 或任何URL模式,如
/stats/username
,它将返回一个Html页面,我可以在该页面上废弃有用的数据。
Note : I have checked the tools from spoj make and none of them are working with the new version. 注意:我已经检查了spoj make中的工具,但没有一个使用新版本。 I am able to get my user data by visiting
/status/username/signedlist
. 我可以通过访问
/status/username/signedlist
来获取我的用户数据。 But that only works for logged in users and it is not public. 但这仅适用于已登录的用户,并且不公开。
As of now there is no way to know spoj user stats through rest call . 截至目前,无法通过休息呼叫了解用户统计信息。 Although you can scrap /users/username/problem_code page to know valid submissions.
虽然您可以废弃/ users / username / problem_code页面以了解有效提交。
Example of the project is located here . 该项目的示例位于此处。 https://github.com/aravindballa/MRNDLeaderboard
https://github.com/aravindballa/MRNDLeaderboard
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.