It's relatively simple! Take a look at the documentation, find which endpoint hasn't been covered yet. Normally, you will want to do the following on github:
-
Open an issue
-
Open a pull request addressing the issue
-
Create a folder in
/src
with the name of theENDPOINT
. Create the following files:/src/ENDPOINT/index.ts
- function file to call the api endpoint/src/ENDPOINT/index.spec.ts
- test file to mock the api calls/src/ENDPOINT/types.ts
- types file just for this specific endpoint/src/ENDPOINT/enums.ts
- enums file (optional)
-
Once all the lints/tests pass locally, edit
package.json
and bump the version number (e.g. 0.0.1 -> 0.0.2). -
Await the PR to be approved!