API

adding to my pseudo api php.