add api.php
Merge branch 'master' of github.com:iamazhi/phpapi