Building our configuration file

For the purpose of this application, we are going to use a configuration file to store our user-account-related data, which will allow us to authenticate to the Github API. For this, inside our project directory, create a new file named config.ini with the following contents:

[github_auth]
username = ‘<your github username>’
password = ‘<your github password>’

Once we have the configuration file setup complete, let's move on to writing our application code, which will interact with Github to get our repos.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.122.244