a simple script to use github API