alfaarghya / alfa-leetcode-api

It's a custom leetcode api. This API provides endpoints to retrieve details about a user's profile, badges, solved questions, contest details, contest history, submissions, calendar and and also daily questions, selected problem, list of problems.
https://alfa-leetcode-api.onrender.com/
MIT License
142 stars 58 forks source link

Can I use this? #9

Closed kishan2k2 closed 2 months ago

kishan2k2 commented 2 months ago

I making a web app, a personal project. Can I use this API end point? and What is the rate limit of this API? And is there a way to bypass that? Can you please explain how you made this project happen? I mean the step by step procedure to make this kind of a project happen.

kishan2k2 commented 2 months ago

Is it using an external source i.e. https://leetcode.com/graphql for collecting the data, do you have your own database?

kishan2k2 commented 2 months ago

I surfing and I found this answer https://stackoverflow.com/a/74977514/22793103 and this actually got me what I wanted, can you please tell me if there is any kind of rate limit for using this graphQL endpoint?

alfaarghya commented 2 months ago

@kishan2k2 First sorry for this late response.

alfaarghya commented 2 months ago

I making a web app, a personal project. Can I use this API end point? and What is the rate limit of this API? And is there a way to bypass that? Can you please explain how you made this project happen? I mean the step by step procedure to make this kind of a project happen.

The rate-limit is 60 requests/hour. Just remove limiter variable from the app.ts file to bypass it. But if u want to change the request limit change limit and to change the time limit change windowMs.

alfaarghya commented 2 months ago

Is it using an external source i.e. https://leetcode.com/graphql for collecting the data, do you have your own database?

NO! I also use the same API point to retrieve the data.

alfaarghya commented 2 months ago

I surfing and I found this answer https://stackoverflow.com/a/74977514/22793103 and this actually got me what I wanted, can you please tell me if there is any kind of rate limit for using this graphQL endpoint?

Till today I don't see any rate limit for the graphQL API

kishan2k2 commented 2 months ago

Thank you for the response, though I figured it out myself 🤗