sql - query notification application idea -
i'm 3rd year computer science college student, , i'm looking make application notifies me when there query result change on pucatrade. quick summary: pucatrade website can trade magic: gathering cards other people without third party involvement. person submit 'want' specific card - if have equal or more points value of card, show other users person wants card. person owns particular card can search see if wants card. if there person wants it, he/she can commit send.
i have number of cards trade away, , want develop application notify me when wants card have. student has been coding in c/c++ , python, cannot quite grasp on involves database , query. place started on , tools should looking into? or out of scope , should start simpler database project? tips, advice, , criticism appreciated.
here's high-level answer because question pretty high-level on it's own. google best friend here, here steps should follow:
it's have python knowledge, best bet simple application (in case script) want.
the first thing you'll write script creates get
http request pucatrade api. if not have web api, need make get
request of whatever web page want, manually parse source code page find information need.
once have data, can interpret want, , determine if has bidded on card, or indicated way want card.
what can set script periodically run (if you're on linux machine, cron
option), every 5 minutes or something, , if notices wants card can send email smtplib
if wanted go further set sqlite
database locally, , store status of cards or whatever data you'd can have history
Comments
Post a Comment