Comments (4)
Don't worry about the http requests. You can actually just run the app with the singleRun.py
file from your command line. However, it seems that I left some hard coded arguments, such as warehouse locations, in the code, and it is just in generally a bit messy so I might try to clean it up this week.
from amazonflexunlimited.
So I actually spent some time last week familiarizing myself with everything and with a few edits concerning my particular preferences I have it where I can use either singleRun.py or service.py and its been working great for me so far.
Also, the way I've been filtering the offer results is just programmatically in the findJobs() function after all offer results have been returned from getOffers() and before calling acceptOffer().
So far, the time it takes to run the filters I have in place are fast enough to where I haven't had much of a problem with ultimately being able to get the kind of offers i'm ultimately looking for. So, by doing that I've avoided the issue of having to immediately accept any/all offers and then forfeit all the ones I'm ultimately uninterested in.
Just thought i'd mention that in case you have an interest in revising that part of flex.py because forfeiting previously accepted offers negatively impacts what Amazon calls "standing" in the Amazon Flex program, which is basically a point based score that determines what/how many offers a driver will be sent and ultimately their ability to remain a driver.
I can submit a PR if you want to see how I'm using it. Just lmk.
-Shane
from amazonflexunlimited.
Oh and I'm running on a Linode server and have had no issues, which is one solution to the AWS problem
from amazonflexunlimited.
I rewrote some of the program using a OO approach, and removed all the bloat. I haven't tested it since I don't have an Amazon Flex username and password, but you can test it. You're probably going to encounter bugs during run time, so feel free to make a PR if you can fix those bugs. Otherwise, just let me know of the bugs on this thread.
from amazonflexunlimited.
Related Issues (20)
- Unable to authenticate HOT 24
- Increase server response time? HOT 6
- More of a feature request…
- Refresh time HOT 1
- Fatal flaw on FlexUnlimited.py:181
- Twilio Issue - ERROR: 'twilioAcctSid' was not set. Please setup FlexUnlimited as described in the README. HOT 2
- ERROR: Unable to authenticate to Amazon Flex. Please provide a valid Amazon Flex username and password. HOT 1
- Rate limited all the time. HOT 6
- FILTER NOT WORKING!!! HOT 3
- QUESTION: "serviceAreaIds" ??? HOT 10
- Random Authentication issue. HOT 2
- Unable to authenticate to Amazon Flex HOT 1
- Unable to accept an offer. Request returned status code 410 HOT 2
- Hosting on AWS for minimum latency HOT 10
- please tell me why it says Unable to authenticate HOT 8
- I need help HOT 5
- Not able to log in HOT 4
- Error when loggin
- searching specific warehouses HOT 2
- specs.openid.net can not be reached
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazonflexunlimited.