Fix bugs in example

fix bugs in example
add somefix on Readme

fix readme
Merge pull request #1 from undoZen/master

update generate.sh & README.md
add a gitignore file
Merge pull request #2 from undoZen/gitignore

add a gitignore file
update api test base.py