add get api
Merge pull request #34 from jilen/get_api

add get api