FOSSASIA
Github API: Create a Script to Check Membership in a Team
Objective
Create a Script to Check Membership in a Team by using the Github API.
Requirements and Steps
- Make sure you are a member of FOSSASIA GCI Students Github team. If you are not, comment here in the task with your Github username to join the team.
- Write a script using NodeJS to check if a given user is a member of the FOSSASIA GCI team. (Assume the username of the user is given to you)
- Put the script on a Github Gist and submit the link.
Useful info
- Endpoint to check membership: https://developer.github.com/v3/orgs/teams/#get-team-membership
- Don't worry about a graphical user interface. Just the script is enough for this task.
- Don't put any authentication credentials you use in the Gist when you submit it.
Expected Outcome
- Script to check membership on github gist
- Post a message about your task at FOSSASIA Google Code-In on Twitter (Weibo or another service) e.g. "Created a script for #FOSSASIA #GCI teams on @github with mentors from around the world http://github.com/fossasia @fossasia @bkeepers"
Task tags
Students who completed this task
Jason