GFG Public API is a Node.js application that fetches user data from GeeksforGeeks (GFG) using Puppeteer. This API allows you to retrieve details like user profile, rank, coding scores, solved problems, and more. Deployment : https://gfg-api-tzvp.onrender.com/
- Fetch user profile data from GFG.
- Retrieve coding scores, ranks, and solved problems.
- Simple and easy-to-use API.
- Node.js (>= 14.20.1)
- npm or yarn
-
Clone the repository:
git clone https://github.com/Shariq2003/GFG_API.git
-
Navigate to the project directory:
cd GFG_API
-
Install the dependencies:
npm install
-
Install Puppeteer and its dependencies:
npx puppeteer browsers install chrome
-
Start the server:
npm start
or
npm run dev
-
Open your browser and navigate to
http://localhost:3000/<username>
to fetch the data for a specific GFG user.