In this project you will scrape as much data as you can get about the *actual* sightings of Pokemons. As it turns out, players all around the world started reporting sightings of Pokemons and are logging them into a central repository (i.e. a database). We want to get this data so we can train our machine learning models. You will of course need to come up with other data sources not only for sightings but also for other relevant details that can be used later on as features for our machine learning algorithm (see Project B). Additional features could be air temperature during the given timestamp of sighting, location close to water, buildings or parks. Consult with Pokemon Go expert if you have such around you and come up with as many features as possible that describe a place, time and name of a sighted Pokemon. Another feature that you will implement is a twitter listener: You will use the twitter streaming API (https://dev.twitter.com/streaming/public) to listen on a specific topic (for example, the #foundPokemon hashtag). When a new tweet with that hashtag is written, an event will be fired in your application checking the details of the tweet, e.g. location, user, time stamp. Additionally, you will try to parse formatted text from the tweets to construct a new “seen” record that consequently will be added to the database. Some of the attributes of the record will be the Pokemon's name, location and the time stamp. Additional data sources (here is one: https://pkmngowiki.com/wiki/Pok%C3%A9mon) will also need to be integrated to give us more information about Pokemons e.g. what they are, what’s their relationship, what they can transform into, which attacks they can perform etc.
The docker instance stopped after an unhandeled error. Full stack:
[pokedata-1]2016-10-12T07:52:50.117839521Z npm info it worked if it ends with ok
[pokedata-1]2016-10-12T07:52:50.118788292Z npm info using npm@2.14.2
[pokedata-1]2016-10-12T07:52:50.119462902Z npm info using node@v4.0.0
[pokedata-1]2016-10-12T07:52:50.533574035Z npm info prestart pokemongo-api@0.0.1
[pokedata-1]2016-10-12T07:52:50.539786199Z npm info start pokemongo-api@0.0.1
[pokedata-1]2016-10-12T07:52:50.542854886Z
[pokedata-1]2016-10-12T07:52:50.542905562Z > pokemongo-api@0.0.1 start /usr/src/app
[pokedata-1]2016-10-12T07:52:50.542914553Z > NODE_ENV=production node app.js
[pokedata-1]2016-10-12T07:52:50.542920702Z
[pokedata-1]2016-10-14T15:29:51.335434123Z TypeError: Cannot read property 'toUTCString' of undefined
[pokedata-1]2016-10-14T15:29:51.335518917Z at Object.module.exports.getByTimeRange (/usr/src/app/app/stores/sighting.js:140:23)
[pokedata-1]2016-10-14T15:29:51.335548124Z at module.exports.getByTimeRange (/usr/src/app/app/api/sighting.js:168:18)
[pokedata-1]2016-10-14T15:29:51.335561038Z at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
[pokedata-1]2016-10-14T15:29:51.335574235Z at next (/usr/src/app/node_modules/express/lib/router/route.js:131:13)
[pokedata-1]2016-10-14T15:29:51.335593407Z at buildCacheObj (/usr/src/app/node_modules/apicache/lib/apicache.js:245:9)
[pokedata-1]2016-10-14T15:29:51.335612132Z at cache (/usr/src/app/node_modules/apicache/lib/apicache.js:192:9)
[pokedata-1]2016-10-14T15:29:51.335632446Z at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
[pokedata-1]2016-10-14T15:29:51.335652975Z at next (/usr/src/app/node_modules/express/lib/router/route.js:131:13)
[pokedata-1]2016-10-14T15:29:51.335671182Z at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:112:3)
[pokedata-1]2016-10-14T15:29:51.335682524Z at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
[pokedata-1]2016-10-14T15:29:51.335693121Z at /usr/src/app/node_modules/express/lib/router/index.js:277:22
[pokedata-1]2016-10-14T15:29:51.335705939Z at param (/usr/src/app/node_modules/express/lib/router/index.js:349:14)
[pokedata-1]2016-10-14T15:29:51.335724823Z at param (/usr/src/app/node_modules/express/lib/router/index.js:365:14)
[pokedata-1]2016-10-14T15:29:51.335744065Z at param (/usr/src/app/node_modules/express/lib/router/index.js:365:14)
[pokedata-1]2016-10-14T15:29:51.335763636Z at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:410:3)
[pokedata-1]2016-10-14T15:29:51.335783746Z at next (/usr/src/app/node_modules/express/lib/router/index.js:271:10)
[pokedata-1]2016-10-14T16:25:18.093033464Z TypeError: Cannot read property 'toUTCString' of undefined
[pokedata-1]2016-10-14T16:25:18.093142657Z at Object.module.exports.getByTimeRange (/usr/src/app/app/stores/sighting.js:140:23)
[pokedata-1]2016-10-14T16:25:18.093159031Z at module.exports.getByTimeRange (/usr/src/app/app/api/sighting.js:168:18)
[pokedata-1]2016-10-14T16:25:18.093212030Z at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
[pokedata-1]2016-10-14T16:25:18.093229224Z at next (/usr/src/app/node_modules/express/lib/router/route.js:131:13)
[pokedata-1]2016-10-14T16:25:18.093257860Z at buildCacheObj (/usr/src/app/node_modules/apicache/lib/apicache.js:245:9)
[pokedata-1]2016-10-14T16:25:18.093268561Z at cache (/usr/src/app/node_modules/apicache/lib/apicache.js:192:9)
[pokedata-1]2016-10-14T16:25:18.093324910Z at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
[pokedata-1]2016-10-14T16:25:18.093336125Z at next (/usr/src/app/node_modules/express/lib/router/route.js:131:13)
[pokedata-1]2016-10-14T16:25:18.093346090Z at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:112:3)
[pokedata-1]2016-10-14T16:25:18.093361234Z at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
[pokedata-1]2016-10-14T16:25:18.093430575Z at /usr/src/app/node_modules/express/lib/router/index.js:277:22
[pokedata-1]2016-10-14T16:25:18.093450702Z at param (/usr/src/app/node_modules/express/lib/router/index.js:349:14)
[pokedata-1]2016-10-14T16:25:18.093460724Z at param (/usr/src/app/node_modules/express/lib/router/index.js:365:14)
[pokedata-1]2016-10-14T16:25:18.093470461Z at param (/usr/src/app/node_modules/express/lib/router/index.js:365:14)
[pokedata-1]2016-10-14T16:25:18.093480530Z at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:410:3)
[pokedata-1]2016-10-14T16:25:18.093538088Z at next (/usr/src/app/node_modules/express/lib/router/index.js:271:10)
[pokedata-1]2016-10-15T04:08:44.348226391Z npm info poststart pokemongo-api@0.0.1
[pokedata-1]2016-10-15T04:08:44.359390365Z npm info ok
The docker instance stopped after an unhandeled error. Full stack: