Skip to content

Small package to Extract Amazon ASIN/ISBN from links

License

Notifications You must be signed in to change notification settings

donnguyen/amazon_asin

Repository files navigation

Small package to Extract Amazon ASIN/ISBN from links.

Usage

A simple usage example:

import 'package:amazon_asin/amazon_asin.dart';

main() {
  AmazonASIN.parse("https://www.amazon.com/gp/product/B01IG0E1F0/ref=s9u_nwrsa_gw_i3?ie=UTF8&fpl=fresh&pd_rd_i=B01IG0E1F0&pd_rd_r=HX877ZSJ45VZ39AN59A1&pd_rd_w=6aVbp&pd_rd_wg=Yyiuk&pf_rd_m=ATVPDKIKX0DER&pf_rd_s=&pf_rd_r=K1JQVYXFAG8F4WKVT3N0&pf_rd_t=36701&pf_rd_p=b15e70a0-40cd-4167-b336-ff44ea910cf2&pf_rd_i=desktop");
}

Result:

  {
    "ASIN": "B01IG0E1F0",
    "url": "https://www.amazon.com/gp/product/B01IG0E1F0/ref=s9u_nwrsa_gw_i3?ie=UTF8&fpl=fresh&pd_rd_i=B01IG0E1F0&pd_rd_r=HX877ZSJ45VZ39AN59A1&pd_rd_w=6aVbp&pd_rd_wg=Yyiuk&pf_rd_m=ATVPDKIKX0DER&pf_rd_s=&pf_rd_r=K1JQVYXFAG8F4WKVT3N0&pf_rd_t=36701&pf_rd_p=b15e70a0-40cd-4167-b336-ff44ea910cf2&pf_rd_i=desktop",
    "domain": "www.amazon.com"
  }

About

Small package to Extract Amazon ASIN/ISBN from links

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages