All Projects β†’ asherAgs β†’ Amzsear

asherAgs / Amzsear

Licence: mit
The unofficial Amazon search CLI & Python API

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Amzsear

Lizard
πŸ’ Full Amazon Automatic Download
Stars: ✭ 41 (-53.93%)
Mutual labels:  amazon
Pega Helm Charts
Orchestrate a Pega Platformβ„’ deployment by using Docker, Kubernetes, and Helm to take advantage of Pega Platform Cloud Choice flexibility.
Stars: ✭ 58 (-34.83%)
Mutual labels:  amazon
Sagemaker Debugger
Amazon SageMaker Debugger provides functionality to save tensors during training of machine learning jobs and analyze those tensors
Stars: ✭ 70 (-21.35%)
Mutual labels:  amazon
Awesome Recommendation Engine
The purpose of this tiny project is to put things together with the know how that i learned from the course big data expert from formacionhadoop.com The idea is to show how to play with apache spark streaming, kafka,mongo, spark machine learning algorithms.
Stars: ✭ 47 (-47.19%)
Mutual labels:  amazon
Whole Foods Deliverance
[Availability notifications, auto-checkout, slot preferences, cart tracking] for Whole Foods / Amazon Fresh
Stars: ✭ 56 (-37.08%)
Mutual labels:  amazon
Gogrocery
Its an eCommerce app inspired from Amazon , big Basket , grofers ,grocery app , Etc
Stars: ✭ 62 (-30.34%)
Mutual labels:  amazon
Django S3 Like Storage
Your Own Amazon S3 Django Storage
Stars: ✭ 28 (-68.54%)
Mutual labels:  amazon
Giveaway Grabber
Automated Amazon Giveaways using Node & Puppeteer (until 10/17/19) 🎁
Stars: ✭ 75 (-15.73%)
Mutual labels:  amazon
Manageiq
ManageIQ Open-Source Management Platform
Stars: ✭ 1,089 (+1123.6%)
Mutual labels:  amazon
Objstore
A Multi-Master Distributed Caching Layer for Amazon S3.
Stars: ✭ 69 (-22.47%)
Mutual labels:  amazon
Amazon Fresh Whole Foods Delivery Slot Finder
A Mac tool that finds available delivery slots for Amazon's Whole Foods delivery and Amazon Fresh services
Stars: ✭ 1,048 (+1077.53%)
Mutual labels:  amazon
Aws Sdk Java V2
The official AWS SDK for Java - Version 2
Stars: ✭ 1,083 (+1116.85%)
Mutual labels:  amazon
Aws Config To Elasticsearch
Generates an AWS Config Snapshot and ingests it into ElasticSearch for further analysis using Kibana
Stars: ✭ 62 (-30.34%)
Mutual labels:  amazon
Amazon Ecs
With Laravel, search and lookup Amazon products easily.
Stars: ✭ 43 (-51.69%)
Mutual labels:  amazon
Amazon Payments Magento 2 Plugin
Extension to enable Amazon Pay on Magento 2
Stars: ✭ 69 (-22.47%)
Mutual labels:  amazon
Arcads
ArcAds is a DFP wrapper created by Arc Publishing with publishers in mind.
Stars: ✭ 39 (-56.18%)
Mutual labels:  amazon
Complete Placement Preparation
This repository consists of all the material required for cracking the coding rounds and technical interviews during placements.
Stars: ✭ 1,114 (+1151.69%)
Mutual labels:  amazon
Tts
Tools to convert text to speech πŸ“šπŸ’¬
Stars: ✭ 84 (-5.62%)
Mutual labels:  amazon
Interview Process Coding Questions
Interview Coding Questions for Several Companies encapsulated into one Repository
Stars: ✭ 74 (-16.85%)
Mutual labels:  amazon
Broadway sqs
A Broadway producer for Amazon SQS
Stars: ✭ 64 (-28.09%)
Mutual labels:  amazon

amzSear

The unofficial Amazon Product CLI & API. Easily search the amazon product directory from the command line without the need for an Amazon API key.

Wondering about about an amazon product listing? Find the amzSear!

Version 2 has been released! See below for more info.

$ amzsear 'Harry Potter Books'
    Title                                               Prices             Rating
0   Harry Potter Paperback Box Set (Books 1-7)          $21.20 - $52.99    *****
1   Harry Potter and the Sorcerer's Stone               $0.00 - $10.99     *****
2   Harry Potter And The Chamber Of Secrets             $0.00 - $10.99     *****
3   Harry Potter And The Goblet Of Fire                 $0.00 - $12.99     *****
4   Harry Potter and the Prisoner of Azkaban            $0.00 - $10.99     *****
5   Harry Potter And The Order Of The Phoenix           $0.00 - $12.99     *****
6   Harry Potter and the Deathly Hallows (Book 7)       $0.00 - $14.99     *****
7   Harry Potter and the Half-Blood Prince (Book 6)     $0.00 - $12.99     *****
8   [Sponsored]Hudson James & the Baker Street Legacy   $0.00 - $3.07      -----
9   [Sponsored]Kids' Travel Guide - London: The fun wa  $8.37 - $10.90     *****
10  Harry Potter and the Sorcerer's Stone: The Illustr  $9.23 - $39.99     ****
11  Harry Potter Complete Book Series Special Edition   $64.88 - $81.95    *****
12  Harry Potter and the Cursed Child, Parts One and T  $3.15 - $12.99     ****
13  Harry Potter Books Set #1-7 in Collectible Trunk-L  $73.96 - $157.95   ****
14  Harry Potter Complete Collection 7 Books Set Colle  $146.89 - $163.99  *****
15  Harry Potter and the Chamber of Secrets: The Illus  $20.51 - $39.99    *****
16  Harry Potter and the Prisoner of Azkaban: The Illu  $15.92 - $275.00   *****
17  The Unofficial Harry Potter Spellbook: Wizard Trai  $0.00 - $13.95     ****
18  [Sponsored]Widdershins – Part One: The Boy with Ab  $0.00 - $0.76      *****
19  [Sponsored]Missions Accomplished: And some funny b  $0.00 - $3.96      *****

Amazon Comparison Shot

Installation

Can easily be be run on Python version 3 or greater with minimal additional dependencies.

Install the dependencies and main package using pip.

$ pip install amzsear

For those wanting to upgrade to version 2, use the command:

$ pip install amzsear --upgrade

Note: The Pandas package is not a required dependency for amzSear, however a few methods do use it (see AmzSear.md, AmzBase.md) if one wants to integrate with Pandas. If this is the case, pandas should be installed separately using:

$ pip install pandas

Usage

AmzSear can be used in two ways, from the command line and as a Python package.

CLI

The amzSear CLI allows Amazon search queries to be performed directly from the command line. In it's simplest form, the CLI only requires a query.

$ amzsear 'Harry Potter Books'

However, additional options can be set to select the page number, item number, region or the output format. For example:

$ amzsear 'Harry Potter' -p 2 -i 35 --output json

The above query will display the item at index 35 on page 2 as a JSON object. For more examples and for extended usage information see the CLI Readme.

API

from amzsear import AmzSear
amz = AmzSear('Harry Potter')

In the latest version of amzSear dedicated AmzSear and AmzProduct classes have been created to allow easier extraction of Amazon product information in a Python program. For example:

>>> from amzsear import AmzSear
>>> amz = AmzSear('Harry Potter', page=2, region='CA')
>>> 
>>> last_item = amz.rget(-1) # retrieves the last item in the amzSear
>>> print(last_item)
title               "[Sponsored]Kids' Travel Guide - London: The fun way to discover Lo..."
product_url         'https://www.amazon.com/gp/slredirect/picassoRedirect.html/ref=pa_s...'
image_url           'https://images-na.ssl-images-amazon.com/images/I/61CatLnbhQL._AC_U...'
rating              ratings_text          '4.6 out of 5 stars'
                    ratings_count_text    '29'
                    <Valid AmzRating object>
prices              {'Perfect Paperback': '$8.37', '1': '$10.90'}
extra_attributes    {}
subtext             ['by Sarah-Jane Williams and FlyingKids']
<Valid AmzProduct object>
>>> 
>>> print(last_item.get_prices()) # retrieves all price values as floats
[8.37, 10.9]

For a complete explanation of the intricacies of the amzSear core API, see the API docs.

What's New in Version 2.0

Feature v 1.0 v 2.0
Command line Amazon queries βœ“ βœ“
Command line conversion to CSV or JSON βœ“
Support for US Amazon βœ“ βœ“
Support across all Amazon regions βœ“
Single page API queries βœ“ βœ“
Multiple page API queries βœ“
Dedicated AmzSear class & subclasses βœ“
Extraction of (title, url, prices & rating) βœ“ βœ“
Extraction of (image_url, rating's count, extra text, subtext) βœ“
Consistent extraction across Amazon sites βœ“
Support for API input from query or url or html directly βœ“
Summary
  • Support across all Amazon regions (Australia, India, Spain, UK, US, etc.)
  • Dedicated AmzSear class & subclasses
  • Better scraping & extraction to retrieve all data
  • Additional fields - including image_url, subtitle/subtext, rating's count
  • Simpler usability and clearer command line interface
  • Multiple command line export formats - CSV, JSON, etc.

A more in depth understanding of the latest features of the CLI can be explored in the CLI Readme. A complete breakdown of the core API's extended features can be seen in the core API docs.

About

Articles

This library was designed to facilitate the use of amazon search on the command line whilst also providing a utility to easily scrape basic product information from Amazon (for those without access to Amazon's Product API). The developer does, however, append an Amazon Affiliate Tag in order to track usage of this software and to monetize this and other publicly accessible projects. We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].