{"id":18714039,"url":"https://github.com/xi-plus/oj-stats","last_synced_at":"2025-11-10T01:30:14.017Z","repository":{"id":87553216,"uuid":"46397885","full_name":"Xi-Plus/oj-stats","owner":"Xi-Plus","description":"Online Judge Stats","archived":false,"fork":false,"pushed_at":"2024-04-26T14:43:26.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T09:19:14.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xi-Plus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-18T05:42:12.000Z","updated_at":"2024-04-26T14:43:30.000Z","dependencies_parsed_at":"2023-03-07T02:45:34.693Z","dependency_job_id":null,"html_url":"https://github.com/Xi-Plus/oj-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2Foj-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2Foj-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2Foj-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2Foj-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xi-Plus","download_url":"https://codeload.github.com/Xi-Plus/oj-stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239576790,"owners_count":19662114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T12:51:01.428Z","updated_at":"2025-11-10T01:30:13.963Z","avatar_url":"https://github.com/Xi-Plus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oj-stats\nOnline Judge Stats\n\nRequired\n---\n* Nothing here.\n\nFeatures\n---\n### API\nFetch from `/api` via http GET/POST with following parameters.\n\n#### Nodes\n| [node](README.md#parameters) | Description | Parameters | Request method |\n|---|---|---|---|\n| ojinfo | Online judge infomation. | oj `Essential` \u003cbr\u003e node `Essential` \u003cbr\u003e field `Optional` | `?oj={oj-name}`\u003cbr\u003e`\u0026node=ojinfo`\u003cbr\u003e`\u0026field={field-array}` |\n| userinfo | User infomation on online judge. | oj `Essential` \u003cbr\u003e node `Essential` \u003cbr\u003e user `Essential` \u003cbr\u003e field `Optional` \u003cbr\u003e validtime `Optional` | `?oj={oj-name}`\u003cbr\u003e`\u0026node=userinfo`\u003cbr\u003e`\u0026user={user-array}`\u003cbr\u003e`\u0026field={field-array}`\u003cbr\u003e`\u0026validtime={valid-time}` |\n| userstat | User submitted problem. | oj `Essential` \u003cbr\u003e node `Essential` \u003cbr\u003e user `Essential` \u003cbr\u003e prob `Optional` \u003cbr\u003e field `Optional` \u003cbr\u003e validtime `Optional` | `?oj={oj-name}`\u003cbr\u003e`\u0026node=userstat`\u003cbr\u003e`\u0026user={user-array}`\u003cbr\u003e`\u0026prob={prob-array}`\u003cbr\u003e`\u0026field={field-array}`\u003cbr\u003e`\u0026validtime={valid-time}` |\n| probinfo | Problem infomation on online judge. | oj `Essential` \u003cbr\u003e node `Essential` \u003cbr\u003e prob `Essential` \u003cbr\u003e field `Optional` | `?oj={oj-name}`\u003cbr\u003e`\u0026node=probinfo`\u003cbr\u003e`\u0026prob={prob-array}`\u003cbr\u003e`\u0026field={field-array}` |\n\n#### Parameters\n| Parameter | Description | Type |\n|---|---|---|\n| oj | Online judge name. View [here](README.md#supported-oj). | String |\n| node | View [here](README.md#nodes). | String |\n| user | User ID list. | Array String |\n| prob | Problem ID list. | Array String |\n| field | Return fields choice. Defalut it all fields. Additional:`link` | Array String |\n| validtime | Valid time (seconds). If last fetch time \u003c now - validtime, it will be refreshed. Default in `config/config.php`. | Integer |\n\n#### Supported OJ\n| OJ id | OJ name | Link | User ID | Remark |\n|---|---|---|---|---|\n| bzoj | 大视野在线测评 | http://www.lydsy.com/JudgeOnline | Your login `User ID` ||\n| cf | Codeforces | http://codeforces.com | Your login `Handle` | Not supported Field:`userstat-\u003elink` |\n| gj | Green Judge | http://www.tcgs.tc.edu.tw:1218 | Your login `Account` ||\n| hdu | HDU Online Judge | http://acm.hdu.edu.cn | Your login `Author ID` ||\n| lightoj | Jan's LightOJ | http://lightoj.com | Your login `User ID` | Not supported Node:`userstat` |\n| nthuoj | NTHU Online Judge | http://acm.cs.nthu.edu.tw | Your login `Username` ||\n| poj | PKU JudgeOnline | http://poj.org | Your login `User ID` ||\n| tioj | TIOJ Infor Online Judge | http://tioj.ck.tp.edu.tw | Your login `Username` ||\n| toj | TNFSH Online Judge | http://toj.tfcis.org | View [here](http://toj.tfcis.org/oj/chal/) to find your `ID` ||\n| tzj | TNFSH Judge | http://judge.tnfsh.tn.edu.tw:8080 | Your login `Account` ||\n| uva | UVa Online Judge | https://uva.onlinejudge.org | Your login `Username` | Not supported Field:`userstat-\u003elink` |\n| zj | ZeroJudge | http://zerojudge.tw | Your login `Account` ||\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxi-plus%2Foj-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxi-plus%2Foj-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxi-plus%2Foj-stats/lists"}