PHP API's for general purpose