Skip to main content

The TelemetryDeck API the pythonic way

Project description

TelemetryDeckPy

TelemetryDeck is a privacy focuesd user analytics tool. TelemetryDeckPy is a small python package to send signals to TelemetryDeck in a pythonic way.

Usage

def main():
    # Create a telemetrydeckpy object
    telemetry = telemetrydeckpy.TelemetryDeck()
    
    # and a telemetrydeckpy signal object based on 
    # the official documentation
    # https://telemetrydeck.com/docs/ingest/v2/
    signal = telemetrydeckpy.Signal('app_id', 'client_user', 'signal_type')
    
    # and modify it to your own extend
    signal.is_test_mode = True
    signal.payload = {'pay': 'load'}

    # send the signal
    telemetry.send_signal(signal)

MIT License

Copyright (c) 2024 Thore D. Jahn

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telemetrydeckpy-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

telemetrydeckpy-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file telemetrydeckpy-1.0.0.tar.gz.

File metadata

  • Download URL: telemetrydeckpy-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for telemetrydeckpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 58fa711727b6e3d3669bfb0cd8699e03c698c5f57161ead6282593bf72a8a9b6
MD5 074ac7409fc6a903d00cfeda9eaa316d
BLAKE2b-256 4a9c16505b0df0c9515b0948e3e51746f00c4f9515beb66a6589ceedd77e7822

See more details on using hashes here.

File details

Details for the file telemetrydeckpy-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for telemetrydeckpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18d7a9a2ed2d1b2650a319d551dd14d04355c8a12dbb5b5760a6eb90558a4a3d
MD5 129d31b5da91ac0ca0c210905f3ebaff
BLAKE2b-256 42afb35e0961764197c6b3de6e80b49b94f579612c8368ca9698a918b5f46abc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page