Created
March 11, 2019 03:13
-
-
Save jrbail01/19c83edbd132236b2982cbf88ddee01a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ISStreamer.Streamer import Streamer | |
ACCESS_KEY = "PLACE YOUR INITIAL STATE ACCESS KEY HERE" | |
BUCKET_KEY = "reqtest1" | |
BUCKET_NAME = "Python Test" | |
# create a Streamer instance | |
streamer = Streamer(bucket_name=BUCKET_NAME, bucket_key=BUCKET_KEY, access_key=ACCESS_KEY) | |
# send some data | |
streamer.log("myNumber", 7) | |
# flush and close the stream | |
streamer.flush() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment