add github api lib and example with authentication