Skip to main content

Migas Python client

Project description

Migas Client

A Python package to communicate with a migas server.

API

migas includes the following functions to communicate with the telemetry server:

migas.add_project()

Send a breadcrumb with usage information to the server. The server will attempt to return information about the project, such as the latest version and bad versions.

migas.get_usage()

Check number of uses a project has received from a start date, and optionally an end date. If no end date is specified, the current datetime is used.

Customization

Normally, calling migas.setup() will populate the internal configuration with the default endpoint, but in cases where you wish to host your own instance of a migas server, you can pass in an endpoint parameter to route traffic accordingly.

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

migas-0.0.1.tar.gz (29.2 kB view hashes)

Uploaded Source

Built Distribution

migas-0.0.1-py3-none-any.whl (12.7 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