Standard github api implementation in python