a what.cd api written in php