Registry / http-client / bitly
library3.1.0rbrubygemsunverified

Ruby client for the Bitly API v4 to shorten and expand URLs.

gem install bitly
INSTALL
IMPORT
SIG · BITLY
B
bitly
http-clientrubyv3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Bitly
require 'bitly'

Shorten a URL using the Bitly API.

require 'bitly' client = Bitly::Client.new('your_access_token') url = client.shorten('https://example.com') puts url.short_url
Debug
Known issues
breakingRequires a valid Bitly access token; API v4 is not backward-compatible with v3.
fix
Obtain an access token from Bitly and use the v4 client methods.
affects: >= 3.0.0
Upgrade
Version history
3.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
26
Resources
bitly — gem install bitly · libregistry