Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
bitly
master
Bitly
Client
Data
Expand
ExpandContainer
REST
Shorten
Generated using Crystal 1.16.3
2026-03-04 19:11:39 UTC
class
Bitly::
Client
Bitly::Client
Reference
Object
Included Modules
Bitly::REST
Defined in:
bitly.cr
Constant Summary
BASE_API
=
"https://api-ssl.bitly.com/"
Constructors
.new
(access_token : String)
Instance Method Summary
#expand
(short : String)
#shorten
(long : String)
Instance methods inherited from module
Bitly::REST
request(method : String, url : String, data : String =
nil
)
request
Constructor Detail
def self.
new
(access_token : String)
#
[
View source
]
Instance Method Detail
def
expand
(short : String)
#
[
View source
]
def
shorten
(long : String)
#
[
View source
]