As I'm sure that you already know, Github API requests using BASIC authentication is deprecated.  The preferred method is to use OAUTH or personal tokens.  When you use personal tokens as authentication, you pass the token in the "Authorization" request header, not as a BASIC authentication password for your username. The example script that I have created below works for me.  Make sure that you check and modify all of the lines that are marked "Modify as needed".  The example token that I