Get an array of tags using the PHP API