Open lowspace opened 3 years ago
What we want: feed the Twitter Stream API to CouchDB in real-time.
There are two potential methods:
I can realise it by reproducing the code in couchdb
stream API yields data (JSON) -> Djando (JSON) -> CouchDB receives data (JSON)
In the receive progress, the CouchDB should:
check whether this uid
is in the udb
True
-> tell the client to feed the tweet into tdb
? or to crawl all the unstored tweets?False
, POST
the JSON{'uid':xxx, 'city:xxxx}
; -> tell client to crawl the timeline and feet these tweets to tdb
[ ] how to check whether a value is in a database in CouchDB? lowspace/COMP90024-Project#3
simple idea maybe Twitter API - Django API - CouchDB
[ ] what is CouchDB
[ ] what is Django
[ ] what is API
[ ] what do we want?
[ ] how to connect Django and CouchDB via API
[ ] what is the classical method to feed tweets to CouchDB? lowspace/COMP90024-Project#5