Skip to content

Instantly share code, notes, and snippets.

View GeorgeVince's full-sized avatar

George Vince GeorgeVince

View GitHub Profile
@GeorgeVince
GeorgeVince / stream.py
Last active August 15, 2022 13:16
rudder-python-sdk-test
import os
import rudder_analytics
from dotenv import load_dotenv
load_dotenv()
rudder_analytics.write_key = os.getenv("RUDDER_WRITE_KEY")
rudder_analytics.data_plane_url = os.getenv("RUDDER_DATA_PLANE")
rudder_analytics.track('gv-dev', 'Simple Track Event', {
'key1': 'val1'