Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
bitly
master
Bitly
Client
Data
Expand
ExpandContainer
REST
Shorten
Built with Crystal 1.9.2
2023-10-07 16:20:09 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
]