2017 © Pedro Peláez
 

library phitly

Bit.ly v3 API wrapper

image

pnomolos/phitly

Bit.ly v3 API wrapper

  • Tuesday, February 18, 2014
  • by pnomolos
  • Repository
  • 1 Watchers
  • 6 Stars
  • 598 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Phitly

A PHP library for connecting to the bit.ly v3 API. At the moment only tests for shortening URLs have been written as that's all that I need to do, should someone else want to help out that'd be great!, (*1)

Usage

$client = new \Phitly\Client($login, $apiKey);
// Returns a \Phitly\Url object
$url = $client->shorten('http://google.com');
$urls = $client->shorten(array('http://cnn.com', 'http://google.com'));

Acknowledgements

Phil Nash's ruby bitly library - on which a significant portion of this library was based., (*2)

Notes

As this library is still under development significant changes may still happen. Specifically, bitly is deprecating the usage of the apiKey parameter so the \Phitly\Client constructor is likely to change to support OAuth2 integration., (*3)

Copyright © 2013 Philip Schalm, (*4)

The Versions

18/02 2014

dev-master

9999999-dev https://github.com/pnomolos/Phitly

Bit.ly v3 API wrapper

  Sources   Download

BSD

The Requires

 

api http wrapper bitly phitly

06/06 2013

0.1.0

0.1.0.0 https://github.com/pnomolos/Phitly

Bit.ly v3 API wrapper

  Sources   Download

BSD

The Requires

 

api http wrapper bitly phitly