In order to use this library, you need to create an Amplitude account and retrieve an API key.
Usage
Parameters
eventsmust be an array of valideventobjectsmethodsdefaults to"sendEvents"and can be ommitted
Example
do events = [
{
"user_id": "can_be_any_string",
"event_type": "flow1-step1"
},
{
"user_id": "can_be_any_string",
"event_type": "flow1-step2"
}
]
do App("amplitude", method="sendEvents", events=events)
For more information about the event object, refer to: https://developers.amplitude.com/docs/batch-event-upload-api#event
