Neo4j Twitter API Streamer

Setup

pip install nts-skazazes

How NTS works

Graph Model

Config

There are two methods of configuration:

  1. There is a set_settings method (requires a dictionary with keys equivalent to the settings in the ini file) or individual setter methods available by importing the Config class from the confighandler module. If using this alternative method, the settings method/s must be called before initializing other package objects as they rely on these settings.
  2. You can supply a dictionary containing the settings with keys equivalent to the settings in the ini file directly to the GraphHandler and TwitterStreamHandler.

Twitter

Neo4J

{
'API_KEY': 'Consumer API Key'
'API_SECRET': 'Consumer API Secret Key'
'ACCESS_TOKEN': 'Access Token'
'ACCESS_TOKEN_SECRET': 'Access Token Secret'

'NEO4J_HOST': 'Neo4J Server Access URL (Only Bolt connections have been tested)'
'NEO4J_USER': 'Neo4J Username'
'NEO4J_PASSWORD': 'Neo4J Password'
'NEO4J_PORT': 'Neo4J Port'
'NEO4J_SCHEME': 'Neo4J Scheme (http, https, bolt)'
}

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Sep 22: Inside Cardstack This Week

Using a Serverless Model to Reduce Footprint for Your Kubernetes/OpenShift Platform

header would look better fit to screen

Building Better Display Tables — a more beautiful and useful way to visualize dataframes.

The Roadmap — The journey has just begun

Instantiating — Dev Log #3

Why Is Python The Best Language for Web Scraping?

Add artificial intelligence to your React app with AWS Rekognition -picture analysis (Part 10)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sean

Sean

More from Medium

Search : A Comprehensive Guide

TEXT SUMMARIZATION

State of the Chatbot — Replika

Semantic Web Ontologies and XDM in Adobe Experience Platform