bitly-shorten-api
Bitly Shorten API
USAGE
- $bitly->setAuthID('YOUR_ACCOUNT_ID') => Fill in with your Account ID
- $bitly->setApiKey('YOUR_API_KEY') => Fill in with your API KEY
$bitly->setSLL()
Option:
- (TRUE) => enable it if your site using HTTPS
- (FALSE) => disable it if your site using HTTP
$bitly->setDomain()
Option Short Domain:
- (1) => bit.ly
- (2) => j.mp
- (3) => bitly.com
$bitly->setFormat()
Option Format:
- json
- xml
- txt
To get the ACCOUNT ID and the KEY API please create a bitly account (http://bitly.com/a/your_api_key)