thtauhid / open-profile

Unified profile to showcase your work.
https://my-open-profile.vercel.app
MIT License
13 stars 15 forks source link

GitHub API wrapper #59

Open thtauhid opened 11 months ago

thtauhid commented 11 months ago

As part of our API introduction milestone, we will implement the GitHub API. A GitHub API wrapper needs to be created so that we can just put the name of the endpoint and get the data.

All methods related to this implementation can be placed under src/api

RobertLupas commented 11 months ago

What info should be gathered? And should the response be processed in the wrapper, then sent out just like in the existing API (like this export const getIntro, and other info, with the same method)? I never made an API wrapper before, but I'd like to now.

Vivek7038 commented 11 months ago

@thtauhid assign this to me . Also clarify me some things I will be creating a file under src/api folder as /api/Github/index.js and this file will be containing all the endpoints , with Methods , options and returned body

Vivek7038 commented 11 months ago

Is there any standard way to do this .