swjtuacmer / Ranker

Show the rank list of swjtuacmer.
MIT License
1 stars 2 forks source link

Use Codeforces API to build the basic of the list #3

Closed Desgard closed 7 years ago

Desgard commented 7 years ago

Preview

Use Codeforces API to build the basic of the list. The link of codeforces API doc: http://codeforces.com/api/help/methods#user.rating


The Sample

http://codeforces.com/api/user.info?handles=Desgard_Duan

{"status":"OK","result":[{"contribution":0,"lastOnlineTimeSeconds":1482297494,"rating":1348,"friendOfCount":18,"titlePhoto":"http://userpic.codeforces.com/218351/title/285e0ab08c65d477.jpg","rank":"pupil","handle":"Desgard_Duan","maxRating":1739,"avatar":"http://userpic.codeforces.com/218351/avatar/48c04bb0d160dc1b.jpg","registrationTimeSeconds":1403178462,"maxRank":"expert"}]}
Desgard commented 7 years ago

Got it.