more api
Merge pull request #23 from sonots/more_json_api

add more json api