Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Codeforces badge was broken due to the change of page layout. CP-Badge was not able to parse the rating properly. The issue has been fixed by using the new codeforces public API which returns JSON formatted data containing users' information. Fix and improvements are pointed out below. Changes: - Codeforces API is used to retrieve user's information. - Unresponsive API exceptions are handled. A [-1, black] is returned. - conditional statements are simplified. - Docstring updated for function. Resolves: kehsihba19#24
- Loading branch information