piedweb/amazon-parser

dev-main 2021-01-31 17:37 UTC

This package is auto-updated.

Last update: 2024-10-29 06:25:01 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Installation

You can install the package via composer:

composer require piedweb/amazon-parser

Usage

use Piedweb\AmazonParser\SearchResults;
use Piedweb\AmazonParser\ProductPage;
use Piedweb\AmazonParser\ProductPageUk;

SearchResults::getUrls(file_get_contents('https://www.amazon.com/s?i=specialty-aps&bbn=16225009011&rh=n:!16225009011,n:541966&ref=nav_em__nav_desktop_sa_intl_computers_and_accessories_0_2_5_6'))

$manager = ProductPage::parse(file_get_contents('https://www.amazon.com/HP-24mh-FHD-Monitor-Built/dp/B08BF4CZSV/'));

$manager->getPrice()

Credits

License

The MIT License (MIT). Please see License File for more information.