Fixed incorrect usage of github api in example

more: https://developer.github.com/v3/gists/#detailed-gist-representation