Checkins/day checkins can be read from local checkin data, spot|nextSpot|count can be calculated and written to database
(forgot to add to previous commit
Nightscript prints cleaner + some code cleanup (nightscript, getDayCheckins,...)
Moved modules to modules folder
Moved goingToRun()/endRun() from WhatsNextApi to night script
Moved files from core/ to modules/
Made a dayscript to get N next probable spots of a given spot
implemented API call ../api/token/whatsnext/spotid, encoded next spots into json reply
Script for building the database
no more identical spot/nextSpot in DB; private spots filtered from JSON response, proper reponse when no spots are found; some code cleanup
added calculateSpotAge() function and helper functions
Updated script to write multipliers to DB; new functions: calculateSpotAge(), calculateParameters(), calculateNewSpotAgeMultiplier(), calculateNewMultipliers(), calculateNewWeightedPopolarity(); updated buildSpotMapping(), main code
Function in writeToDb.py writes to new DB
modified builddb.py to include timespentweight
modified builddb.py to include new function
writeToDb writes timeSpentt to DB
Merging timeSpent with existing code
builddb
Added urls for various types of 'whats next?'
Fixed hideous bug /stillsobbing