Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A wrapper built for the Mila Bot API built by JackTEK#6669

Project description

MilAPI

MilAPI is a wrapper built for the Mila Bot API. It has a built-in login system for easy use of data retrieval and data posting.

Installation

pip install milapi

A few examples

Here are a few examples that the team quickly whipped up to give a taster of our module:

Logging in and out

from milapi import Client

session = Client()
session.login("token") # Logging in

# Do some things here

session.logout() # Logging out

Retrieving metrics

from milapi import Client
import json

session = Client()
session.login("token") # Your API key goes here

print(json.dumps(session.metrics(), indent=4, sort_keys=True))

session.logout()

Project details


Download files

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

Files for milapi, version 1.3.7
Filename, size File type Python version Upload date Hashes
Filename, size milapi-1.3.7-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size milapi-1.3.7.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page