
The database is route-able since we want to generate paths from networks.Create a transport networks database for map matching, route choice modeling and routing.
#Refresh vimrc for macvim code#
So use the code with your own risk, I don’t guarantee anything. E.g., sending mail is not “admin” protected. Note that there are some security issues.

Note here that TASK has longer timeout restriction than normal code execution. This job creates status checking TASKS for each ticket page. I create a cron job which runs every 1 minute (the minimum period).

BUT it is NOT FREE!!! So I have to sort out another solution, which is CRON job. (I assume that you know that GAE has timeout restriction on each code execution). New GAE has a new functionality which is called backends that allow to run python code NON-STOP in background. Status checker has to run either non-stop in background, or executed periodically.The database is called high replication datastore. Google APP engine has a very friendly interface for database operations.Use python to write webpages is very easy.If the new status is different from the last one ( a ticket becomes available or unavailable), send emails to records in CLIENT database that has the same LINK attribute.The availability status is stored in another database STATUS. It should run constantly, or be executed periodically in short time interval (e.g. A script checks tickets availabilities.A private webpage that allows to input ticket pages of matches (save to MATCH database).The records are stored in CLIENT database. A public webpage frontend that allows to input email addresses of interested people.STATUS, -1, unknown( when the link is not accessible), 0 (unavailable), 1 (available).A database STATUS that stores the status of ticket pages over time:.LINK, of a match that the person is interested.EAMIL, of that person who wants to be informed.A database CLIENT that stores the emails of people who want to be informed.The database has following columns:.A database MATCH that stores the links to ticket pages of games, so I can check multiple games.In order to make the robot work in more general context. Inform me whenever a ticket is available. Check the ticket availability on Barcelona official websiteĢ. I want to design a robot that has following functionality.ġ. I choose my favorite scripting language, python. Then I think of using google app engine, which I used to scrapped web information from Facebook 2 years ago. So, I want to write a “robot” to do this job. However, of course, I can not stay online 24*7, and keep to refresh the ticket page. And whenever a ticket is available, I want to be the first one who get informed.

But I still keep the hope that some people will return tickets later. Unfortunately, all tickets of this exciting game are sold out.

A few days ago, I wanted to buy a ticket of a football match: Barcelona VS Real Madrid on October 7.
