⚠️ ⚠️ ⚠️ ⚠️ ATTENTION ⚠️ ⚠️ ⚠️ ⚠️
JustEat have updated their login forms to require a captcha. This basically means that JustDespair is done for and that both the web interface and the command-line tool no longer work. It's a shame, but at least it stops people from doing dumb stuff like this tool.
For posterity, the final JustDespair web high score was €9165.39.
justDespair is an innovation in guilt-generation technologies. justDespair will collect all historical order information from just-eat.ie (and hopefully other regions using the just-eat platform), total the amount spent over the years and make you feel very bad about your life choices.
JustDespair's functionality is now available online with a score tracking component here.
What it tells you
- How much you spent per year
- Which restaurant you frequented the most per year
- A total of all previous purchases on just-eat, ever.
How to use
python justDespair.py email@example.com myjusteatpassword
--json command line argument will output a dictionary of the yearly order information as JSON only. No maximums are calculated.
--region flag is an untested feature for using justDespair against JustEat sites outside of the default of Ireland.
justDespair can be used as a simple library as follows:
import justDespair just_eat = justDespair.JustEat("firstname.lastname@example.org", "some_password") order_data = just_eat.getOrderData() order_data.keys() [2008, 2009, 2010, 2011, 2012, 2013, 2014]
The per-order pages linked from the pages that justDespair currently reads contain even more information about the orders. The number one most embarassing details that I'd like to extract is average time order was placed at (I am thinking late), latest time and earliest time relative to 9AM.
I have no idea how much uniformity there is across different JustEat platforms so I am very interested to see how the --region flag works against sites other than the Irish version.