Skip to main content

Bitcaster Python SDK

Project description

Bitcaster Python SDK

How to use it:

Setupt environemnt

  • Set Bitcaster application-end-point using Bitcaster Key, get it at <bc_instance>/o//a//key/

    export BITCASTER_BAE=http://<KEY>@<SERVER>/api/o/<organization_slug>/p/<project_slug>/a/<application_slug>/ 
    
    
  • in your code

    import bitcaster_sdk 
        bitcaster_sdk.init()
        from bitcaster_sdk import trigger
        trigger(11)
    
    
  • from command line

    $ bitcaster
    Usage: bitcaster [OPTIONS] COMMAND [ARGS]...
    
    Options:
      --bae BAE  Bitcaster BAE. Not needed if $BITCASTER_BAE is set
      --debug
      --help     Show this message and exit.
    
    Commands:
      events   lists Application's Events
      lists    lists Project's DistributionList
      members  lists DistributionList Members
      ping     ping Bitcaster server
      trigger  trigger Application's Event
      users    displays Organization's Users
    
    

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

bitcaster_sdk-0.1.0.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

bitcaster_sdk-0.1.0-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

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