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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maliapicall-0.0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file maliapicall-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: maliapicall-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for maliapicall-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1f50c13783a5f114614e94fb02448d81c0844c997ab7f32ed8efc45e5f5a48b7
MD5 7a19d577f14a58c385d8173a3cd17b67
BLAKE2b-256 8982ff84895d6dd0aafe9fb35c50db5c086d7b8168f719f7f5f270859df3c104

See more details on using hashes here.

Supported by

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