bitly

Creator: coderz1093

Last updated:

Add to Cart

Description:

bitly

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));
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.