A class to make api calls to github