Skip to main content

A package to call Mali APIs

Project description

Mali API Package

This package simplifies the process of obtaining tokens.

Prerequisites

This package assumes using Python 3.7 and the expected package dependencies are listed in the "requirements.txt" file for PIP, you need to run the following command to get dependencies:

pip install -r requirements.txt

Installing the package (from PyPi)

The package has been deployed to the PyPi and it can be install using pip command below:

pip install maliapicall

Examples of python usage

  • You need to provide the corresponding webpage authentication request URL ending with "form", as well as your login account information.
token = maliapicall.wms.get_token(auth_url='https://xxx.xxx.com/xxx/xxx/form',
                                    user_name='Your_Username',
                                    user_password='Your_Password')
  • Please note that do not call the API too frequently. You can save the generated token and use it for testing.

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

maliapicall-0.0.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

maliapicall-0.0.2-py3-none-any.whl (4.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