shrtnr 0.1.0 copy "shrtnr: ^0.1.0" to clipboard
shrtnr: ^0.1.0 copied to clipboard

Dart client for the shrtnr URL shortener API. Create short links, manage custom slugs, and read click analytics.

Changelog #

0.1.0 #

Initial Dart SDK release. Mirrors the TypeScript SDK's public surface:

  • ShrtnrClient with link CRUD, custom slug management, click analytics, QR code retrieval, and a health endpoint.
  • ShrtnrException for non-2xx responses, carrying status code, message, and raw body.
  • ApiKeyAuth for Bearer-token authentication.
  • Timestamp fields (createdAt, expiresAt, disabledAt, health timestamp) exposed as DateTime in UTC; JSON flag fields (is_custom, is_primary) exposed as bool.
1
likes
0
points
578
downloads

Publisher

verified publisheroddbit.id

Weekly Downloads

Dart client for the shrtnr URL shortener API. Create short links, manage custom slugs, and read click analytics.

Homepage
Repository (GitHub)
View/report issues

Topics

#url-shortener #short-url #link-management #analytics

License

unknown (license)

Dependencies

http, meta

More

Packages that depend on shrtnr