add api
Merge pull request #8 from gooo000/master

add api