bitly 1.0.0 copy "bitly: ^1.0.0" to clipboard
bitly: ^1.0.0 copied to clipboard

A composable, Future-based library for bitly api.

A composable, Future-based library for bitly api.

Usage #

The easiest way to use this library is via shorten method. this allow you to make individual HTTP requests and get a bitly async future response success or faile:

import 'package:bitly/bitly.dart';

void main(List<String> args) {
  Bitly('<-TOKEN->')
      .shorten('https://dev.bitly.com', 'bit.ly')
      .then((value) => print(value.body))
      .onError((error, stackTrace) => print(error));
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

3
likes
110
pub points
72%
popularity

Publisher

unverified uploader

A composable, Future-based library for bitly api.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on bitly