jeremytsaii / leetcode-stats-api Goto Github PK
View Code? Open in Web Editor NEWAPI to retrieve LeetCode profile statistics
Home Page: https://leetcode-stats-api.herokuapp.com/
API to retrieve LeetCode profile statistics
Home Page: https://leetcode-stats-api.herokuapp.com/
How we can get the beats % on each section as we can see in the leetcode profile. also details of badge etc
Feat Request Detail :
The response should also contain the current and max Streak for the username !
Simple Example Structure of the response which contins the streak info's :
{ "streak": { "maxStreak": 127, "currentStreak": 12 }, }
submissionCalendar
object does not show entries of days when the user has made no submission (0 submissions).
Steps to reproduce
https://leetcode-stats-api.herokuapp.com/<username>
call inside.Expected behavior
Call should be valid and 200 status code should be returned with response body.
Actual behavior
503 error is returned and the following error is printed in console:
Access to fetch at 'https://leetcode-stats-api.herokuapp.com/johndoe' from origin 'https://johndoe.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Recommendation for fix
Allow CORS requests from https://*.github.io
.
Could you please add the no.of badges earned with this data
The call is not successful and the following message is shown.
"An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details."
Since Heroku has stopped its free services, you must change the backend hosting platform. You can try hosting on "render" or "cyclic"
Is there any possibility that you can provide me the api by the user to get the total number problems sovled for (today)
It would really help to do a project for my personal useA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.