Wednesday 25 March 2015

Scipt to automatically check kickstarter (pebble time)

So I backed Pebble Time ($179 slot) but today morning in the train I read on Facebook that some people had managed to switch to the lower $159 bracket due to drop outs.

Since I could not keep refreshing the page, I wrote a script to help me check for vacancy. It is hosted here:
https://github.com/Ashwani001/kickstarter-scripts/blob/master/kick-checker.py
 Missed a few chances but managed to change on the 4th or 5th chance. Saved myself about SGD30 and it was the first time I wrote a mining(? not sure what to call this)  script for application.

Ok so the how to, for non coders: 
(1) Download the file (kick-checker.py)
(2) Open a terminal (command promt)
(3) Navigate to the file
(4) type 'python kick-checker.py'
(5) Now just push the terminal into a corner and you can carry on with other work, with your eyes having to glance at it once in awhile
(if you are unfamiliar with navigating or do not have python, feel free to ask in the comments. as always, google it first though.)

I know this is not ideal. I think it would be much more helpful if it could play sounds.
Perhaps someone can help me update it to play a sound when there is a vacancy, or to even automate the whole process. Else I will look into it the next time I am backing a project.