update api
Merge pull request #2 from where/build_api

Build api