简体   繁体   English

有没有办法通过对spoj的Rest调用来检索用户提交的统计信息?

[英]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.

相关问题 在HTML中保存单击的元素并在Ajax调用后进行检索的任何可能方法 - Any Possible Way to save clicked element in html and retrieve after ajax call 通过REST API进行用户身份验证 - User Authentication through REST API 在 angular 中调用 function 在引导模式关闭(通过退出按钮和任何其他方式) - Call a function on bootstrap modal close(Both through escape button and any other way) in angular 有什么方法可以在不通过登录/注册调用和localStorage的情况下将当前用户对象缓存在内存中? - Any way to cache the current user object in memory without going through the login/signup calls and localStorage? 通过 API 检索亚马逊评论用户电子邮件 - Retrieve Amazon Reviews user emails through API 无法通过XMLHttpRequest验证剩余调用 - Unable to authenticate rest call through XMLHttpRequest 有没有办法通过和尚称呼“独特”? - Is there a way to call 'distinct' through monk? 通过JavaScript进行Azure Table Storage Rest调用 - Azure Table Storage Rest call through javascript 有没有办法从indexeddb中检索随机行 - Is there any way to retrieve random row from indexeddb 如何通过脚本标签加载REST调用 - How to load a REST call through a script tag
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM