added api
Merge pull request #6 from midorineko/api

added api