Skip to content

YAmikep/heapanalytics-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

heapanalytics-python

A module for using the HeapAnalytics Server-Side API (https://heapanalytics.com/docs/server-side).

The heapanalytics package allows you to easily track events and update user properties from your python application.

Getting Started

The HeapAnalytics class is the primary class for tracking events and sending user updates.

from heapanalytics import HeapAnalytics

app_id = "XXXXXXXXXX"
heap = HeapAnalytics(app_id)

# Send an event
heap.track('12345', 'Welcome email sent', {'Email': '[email protected]'})

# Update user profile
heap.identify(
    '12345',
    {
        'First name': 'John',
        'Last name': 'Smith',
    }
)

About

HeapAnalytics Python library for server-side integration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages