lowspace / COMP90024-Project

0 stars 0 forks source link

How to connect stream/search API to CouchDB via Django? #7

Open lowspace opened 3 years ago

lowspace commented 3 years ago

simple idea maybe Twitter API - Django API - CouchDB

lowspace commented 3 years ago

Problem Analysis

What we want: feed the Twitter Stream API to CouchDB in real-time.

There are two potential methods:

  1. Django serves as the bridge to connect Twitter and CouchDB;
  2. Directly push Twitter data into CouchDB.

I can realise it by reproducing the code in couchdb

Framework

stream API yields data (JSON) -> Djando (JSON) -> CouchDB receives data (JSON)

In the receive progress, the CouchDB should: