add getApi
Merge pull request #1 from litian/branch_litian

add getApi