add support for github api