Skip to main content

redx_courier 0.0.2 copy "redx_courier: ^0.0.2" to clipboard
redx_courier: ^0.0.2 copied to clipboard

Dart/Flutter client for the RedX (redx.com.bd) courier API: create parcels, resolve delivery areas from an address, and list your pickup stores.

0.0.2 #

  • Shortened the package description in pubspec.yaml to fit pub.dev's 180-character limit (was losing 10 pub points for being too long); no code changes.

0.0.1 #

  • Initial release.
  • RedxClient.getPickupStores() / getPickupStoreInfo() - list and look up pickup stores, including a built-in warning about the shop-ID vs pickup-store-ID mixup that causes RedX's /parcel endpoint to crash with Cannot read property 'PHONE' of undefined.
  • RedxClient.getAreasByDistrict() / resolveAreaForAddress() - district name normalization (Barisal/Barishal, Bogra/Bogura, etc.) plus a best-match heuristic that maps a free-text customer address to the right RedX delivery area.
  • RedxClient.createParcel() - create a parcel/shipment.
  • RedxClient.trackParcel() - track a parcel by tracking ID.
  • normalizeBdPhoneForRedx() - normalizes phone numbers to the local 01XXXXXXXXX format RedX expects.
1
likes
160
points
218
downloads

Documentation

API reference

Publisher

verified publishercarboncodes.net

Weekly Downloads

Dart/Flutter client for the RedX (redx.com.bd) courier API: create parcels, resolve delivery areas from an address, and list your pickup stores.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

http

More

Packages that depend on redx_courier