-
Notifications
You must be signed in to change notification settings - Fork 1
sophy/Google-URL-Shortener
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This class to generate shornter and expendfor Google URL Shortener. Example: require_once("GoogleURL.php"); $url = new GoogleURL('YOUR_GOOGLE_API_KEY'); //Short url $shorten = $url->shorten("http://support.mozilla.com/en-US/kb/Keyboard%20shortcuts"); echo $shorten; //http://goo.gl/dbE8A //expand url echo $url->expand($shorten); //http://support.mozilla.com/en-US/kb/Keyboard%20shortcuts //long url clicks echo $url->getLongUrlCliks(); //short url click echo $url->getShortUrlClicks(); NOTE: Get Google API Key https://code.google.com/apis/console/
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published