This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import requests | |
| import json | |
| LABELS = ['help wanted', 'help-wanted', 'first-timers-only', 'up-for-grabs', | |
| 'good first issue'] | |
| API_BASE = 'https://api.github.com/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //login | |
| //setting up parameters for login method | |
| User_auth auth = new User_auth(); | |
| auth.setUser_name(USER_NAME); | |
| auth.setPassword(PASSWORD); | |
| //sending an empty name_value_list | |
| Name_value nameValueListLogin[] = null; | |
| //trying to login |