replace guzzle interaction with github-api