Make basic request to GitHub API and write to file