-
Notifications
You must be signed in to change notification settings - Fork 12
Streaming Basics
Rachel edited this page Jun 15, 2017
·
3 revisions
Initial State provides an events API that allows sending buffered stream event data to Initial State.
The basics of sending data to this API are:
- Providing the Initial State API URL so that whatever method of posting you're using knows the correct endpoint. This URL is always "https://groker.initialstate.com/api/" followed by either "events" or "buckets"
- Providing your Access Key so the API knows which account the events should be sent to
- Providing a Bucket Key (always required) so the API knows whether to create a new events bucket or append to an existing events bucket
- Providing an event name and corresponding event data
I'll start off our examples by constructing a cURL command inside of an Arduino sketch to be run on the Yun.