shrtnr 0.1.2
shrtnr: ^0.1.2 copied to clipboard
Dart client for the shrtnr URL shortener API. Create short links, manage custom slugs, and read click analytics.
Changelog #
0.1.2 #
- Add
example/shrtnr_example.dartdemonstrating the SDK end to end, so pub.dev recognizes the package has an example. - Reformat
LICENSEusing the canonical Apache 2.0 template so pub.dev's license detector identifies it as OSI-approved.
0.1.1 #
- Updating documentation.
0.1.0 #
Initial Dart SDK release. Mirrors the TypeScript SDK's public surface:
ShrtnrClientwith link CRUD, custom slug management, click analytics, QR code retrieval, and a health endpoint.ShrtnrExceptionfor non-2xx responses, carrying status code, message, and raw body.ApiKeyAuthfor Bearer-token authentication.- Timestamp fields (
createdAt,expiresAt,disabledAt, healthtimestamp) exposed asDateTimein UTC; JSON flag fields (is_custom,is_primary) exposed asbool.