Coder Social home page Coder Social logo

amazonprimenowswitch's Introduction

Amazon Prime Now Stock Scraper (APNSS)

This is a fairly simple script that will check the stock of the Amazon Prime Now website and return the ammount of units they have of a certain item. In this case it looks for both Nintendo Switch models and returns values for each one.

Installation

Download the executable APNSS.exe and place it in a directory of your liking. You do not have to worry about the other files on GitHub. After doing that, the program is ready to be run, there is no extracting or installations to be made.

Usage

Double click on the executable to start. It will ask you how long you want to wait after getting the stock information. Please, do not use very low numbers since it creates many requests to the website which could be harmful. It is recommended to use 5 seconds at a minimum. On every iteration, the program will print onto the console whether there is stock or not along with a timestamp. If there is stock of either system, three beeps will played followed by a Windows Notification that looks like this. The notification will keep showing up if there is stock the next time the program checks for it.

Updates

1.0.2

The Amazon Prime Now website with the corresponding item will be opened upon stock detection. It will trigger a variable that will be turned off as soon as there is no stock left. When stock comes back in the website will be opened again. This is to deal with tabs opening every time the program checks and finds stock.

1.0.1

Notifications for Windows are added. The script icon is not displayed yet due to conflicts with the python freezer so the default one is used instead.

Credits

Thanks to wontocc for his help with the WindowsBalloonTip class.

Donations

If you were able to find a system using this script and you want to contribute you could help by donating!

Donate

amazonprimenowswitch's People

Contributors

kahodes04 avatar kurtisdavid avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.