Phitly
A PHP library for connecting to the bit.ly v3 API
Install / Use
/learn @pnomolos/PhitlyREADME
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!
##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.
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.
Copyright
Copyright © 2013 Philip Schalm
Related Skills
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
