shlink 0.7.0
shlink: ^0.7.0 copied to clipboard

A Library to manage shlink.io based self-hosted URL shortener.

A library to access shlink.io based URL shortener.

Build Status

Usage #

Add the following dependency to the pubspec.yaml

Stable

dependencies:
  shlink: ^0.7.0

Development

dependencies:
  shlink: ^0.8.0

NOTE: This version is not yet available on pub.dev

How to use this lib:

import 'package:shlink/shlink.dart';

void main() async {
  Shlink shlink = Shlink('https://example.com', 'my-api-key');

  ShortUrl short = await shlink.create(CreateShortURL.simple('https://github.com/Nexific/dart_shlink'));
  print(short);
}
2
likes
90
pub points
49%
popularity

Publisher

nexific.com

A Library to manage shlink.io based self-hosted URL shortener.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on shlink