Download the PHP package phplicengine/bitly without Composer
On this page you can find all versions of the php package phplicengine/bitly. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phplicengine/bitly
More information about phplicengine/bitly
Files in phplicengine/bitly
Informations about the package bitly
Bitly API v4
Contents
- Installation
- Usage
- Manual
- Contributing and Support
- License
Installation
Usage
Manual
Service Classes
In Bitly API v4 documentations, resources are classified under serveral categories:
Bitlink, Group, Organization, User, Custom, Campaign, Bsd, OAuth, Auth, Webhook
We made each of them as a separate service class. Method names are the same as the last part of documentation url.
For example if you want to use Get Metrics for a Bitlink by Country, this one is classified under Bitlink category in documentation and the last part of its url is getMetricsForBitlinkByCountries
, so you can call it this way:
All Path parameters, must be passed as string in first argument of methods if necessary and all Query parameters must be passed as array in second argument of methods if necessary. If Path parameter is not needed, Query parameters will be first argument of methods.
Another example:
Retrieve Group Shorten Counts is classified under Group category, and the last part of its link is getGroupShortenCounts
, so you can call it this way:
Here is list of available service classes and methods.
Custom cURL Options
By default cURL timeout is 30. You can change it with:
If you need to add some CURLOPT_* constants that are not enabled by default, you can call setCurlCallback() method to add them.
This is added for your convenience, but you should not need it.
Contributing and Support
For all issues or feature request or support questions please open a new issue. All pull requests are welcome.
License
PHPLicengine Api is distributed under the Apache License. See License.
All versions of bitly with dependencies
ext-curl Version *