b3none/been-claimed

There is no license information available for the latest version (1.0.0) of this package.

Detect whether a google maps listing has been claimed via their ID

1.0.0 2018-04-25 14:34 UTC

README

Detect whether a Google Maps listing has been claimed.

Author

B3none - Developer / Maintainer

Example usage

$beenClaimedClient = new BeenClaimedClient();
$claimedSite = $beenClaimedClient->loadById((string)$id);
$claimedSite->hasBeenClaimed();

$unclaimedSite = $beenClaimedClient->loadByMapsUrl((string)$mapsUrl);
$unclaimedSite->hasBeenClaimed();