Git Product home page Git Product logo

amazonflexunlimited's Introduction

Flex Unlimited

Automate searching and accepting Amazon Flex Driver jobs

Originally created by mdesilva, this fork of Flex Unlimited aims to search for one given matching offer at a time, instead of searching until a request limit had been met. The optional twilio dependency has also been swapped for a free and open-source push notification system, so you can receive offer search push notifications right from your cell phone. Base functionality and verbosity has been altered to match a so-called 'dumb clicker;' difference being, this script is no-cost to the end user. After setting this up with a systemd job, you can achieve full automation if desired. Best results are achieved through connect-by-wire (or fiber) machines, keep in mind you are aiming for as low of latency to flex-capacity-na as possible.

Usage

  1. You MUST have python 3 installed. Versions below 3 will not work.
  2. Clone the repo to the machine you will be using to run the program (machine should be connected to Internet by wire for best results).
  3. Install dependencies using pip: pip install -r requirements.txt.
  4. Set username and password in account.json.
  5. Modify config.json to meet your job search requirements. It already comes with some defaults. Fill out desiredWarehouses if you would like to restrict your job search to certain warehouses. If you choose this option, desiredWarehouses must be a list of strings of internal warehouse ids. Otherwise, leave desiredWarehouses as an empty list.
  6. Fill out the desiredWeekdays filter in config.json if you would like to restrict your job search to certain days of the week. Otherwise, you may leave desiredWeekdays as an empty list. desiredWeekdays must be a list of strings (case insensitive) corresponding to days of the week (i.e. "Sun", "monday", etc.). Each string must include at least the first three letters of the day.

To determine the internal warehouse ids of warehouses you are eligible for, run the following command: python3 app.py getAllServiceAreas OR python3 app.py --w

Here you will get a table of all the service areas (warehouses) that you are eligible for. The left column states the service area name, and the right column is the internal warehouse id used by Amazon. Copy all the service area ids you want to restrict your search to as strings into the desiredWarehouses field into the config.json.

e.g

{
...
"desiredWarehouses": ["9c332725-c1be-405f-87c5-e7def58595f6", "5fa41ec8-44ae-4e91-8e48-7be008d72e8a"]],
...
}
  1. Optionally, setup ntfy.sh notifications of Amazon Flex job acceptances by filling out the ntfy parameters in config.json.
  2. Run python app.py. Alternatively, try python3 app.py.

Troubleshooting

  • Unable to authenticate to Amazon Flex. Please try completing the two step verification challenge at (url)

Click on the url and complete the two step verification challenge. After you get to a page that says:

Looking for Something? We're sorry. The Web address you entered is not a functioning page on our site

You have successfully completed the two step verification challenge. Go back to your terminal and re-run the program.

amazonflexunlimited's People

Contributors

possiblemeatball avatar mdesilva avatar j-abellera 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.