2017 © Pedro Peláez
 

library bitly-api-client

Bitly API client.

image

jleagle/bitly-api-client

Bitly API client.

  • Saturday, November 28, 2015
  • by Jleagle
  • Repository
  • 1 Watchers
  • 1 Stars
  • 883 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

bitly-api-client

To use the class, you need to use one of three static methods.

If you have a bitly account username and password:, (*1)

$bitly = Bitly::usernamePassword($username, $password);

If you have an access token (you can get one from https://bitly.com/a/oauth_apps):, (*2)

$bitly = Bitly::accessToken($accessToken);

If you want to log the user in using OAuth:, (*3)

$bitly = Bitly::authorize($clientId, $clientSecret, $projectUrl, $state);

From there you have access to each endpoint:

Return the click rate for content containing 'obama':, (*4)

$realtimeClickrates = $bitly->shorten('https://github.com/Jleagle/bitly-api-client');

The Versions

28/11 2015

dev-master

9999999-dev

Bitly API client.

  Sources   Download

The Requires

 

api client bitly

28/11 2015

1.0.0

1.0.0.0

Bitly API client.

  Sources   Download

The Requires

 

api client bitly

24/11 2015

0.0.2

0.0.2.0

Bitly API client.

  Sources   Download

The Requires

 

api client bitly

04/09 2015

0.0.1

0.0.1.0

Bitly API client.

  Sources   Download

The Requires

 

api wrapper client bitly