add github api notes and example