a what.cd api library written in php