added api functions
Merge branch 'master' of https://github.com/timpei/Swear-Jar-Server