makehackvoid / govhack2014

A repo for MHV's entry in GovHack2014
MIT License
5 stars 5 forks source link

The server must be able to tell the client where to pick the next art from #78

Closed cmrn closed 10 years ago

cmrn commented 10 years ago

The server needs a way to communicate to the client which suburb to pick the next piece of art from. This will be when the server receives a tweet request.

Tweet -> Server -> Browser

brendam commented 10 years ago

If it's not too hard, use connection from 'big screen' browser(s) to setup flask session so requests to twitter.get_suburb() can only come from that session.

cmrn commented 10 years ago

I think a flask endpoint which returns some JSON of the latest request and the timestamp of that request, so the client can work out if it's a new request for themselves.

brendam commented 10 years ago

I can return a tuple or json from get suburb with the tweet date or id

jamiereid commented 10 years ago

This was resolved with PR #90 and others.