Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zhangjuncare/sa-sdk-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

Sensors Analytics

This is the official Python SDK for Sensors Analytics.

Easy Installation

You can get Sensors Analytics SDK using pip.

 pip install SensorsAnalyticsSDK

Once the SDK is successfully installed, use the Sensors Analytics SDK likes:

 import sensorsanalytics
 // Gets the url of Sensors Analytics in the home page.
 SA_SERVER_URL = 'YOUR_SERVER_URL'
 // Initialized the Sensors Analytics SDK with Default Consumer
 consumer = sensorsanalytics.DefaultConsumer(SA_SERVER_URL)
 sa = sensorsanalytics.SensorsAnalytics(consumer)
 // Track the event 'ServerStart'
 sa.track("ABCDEFG1234567", "ServerStart")

To learn more

See our full manual

About

The official Python SDK for Sensors Analytics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%

AltStyle によって変換されたページ (->オリジナル) /