Skip to main content

Library for interfacing with Rockfield's Mercuto API

Project description

Mercuto Client Python Library

Library for interfacing with Rockfield's Mercuto public API. This library is in an early development state and is subject to major structural changes at any time.

(Visit our Github Repository)[https://github.com/RockfieldTechnologiesAustralia/mercuto-client]

Installation

Install from PyPi: pip install mercuto-client or adding the same line into your requirements.txt.

Basic Usage

Use the connect() function exposed within the main package and provide your API key.

from mercuto_client import connect

client = connect(api_key="<YOUR API KEY>")
print(client.projects().get_projects())

# Logout after finished.
client.logout()

You can also use the client as a context manager. It will logout automatically.

from mercuto_client import MercutoClient

with MercutoClient.as_credentials(api_key='<YOUR API KEY>') as client:
    print(client.projects().get_projects())

Current Status

This library is incomplete and may not be fully compliant with the latest Mercuto version. It is only updated periodically and provided for use without any warranty or guarantees.

  • API Based login (Completed)
  • Username/password login

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

mercuto_client-0.2.8.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

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

mercuto_client-0.2.8-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file mercuto_client-0.2.8.tar.gz.

File metadata

  • Download URL: mercuto_client-0.2.8.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.13

File hashes

Hashes for mercuto_client-0.2.8.tar.gz
Algorithm Hash digest
SHA256 08f110c111ed4d72d2db05980ef73d00d10358d1835a49fc2b40988e8890be19
MD5 c5acb79e496fdac2536246c70e9756f7
BLAKE2b-256 22f02ecf1b1ffbd0fa14d40cdbc863ac9322a3cc2da8c734baaad453b90ae3aa

See more details on using hashes here.

File details

Details for the file mercuto_client-0.2.8-py3-none-any.whl.

File metadata

File hashes

Hashes for mercuto_client-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ff62597999bed3da2d14692aeee315982a1febd00dd4b6b3334dac4b0c8ac230
MD5 fe83f7e4c83f9ad4e6a7013bfab3711c
BLAKE2b-256 80588f6f8f4581b603ad6c9e29e26e4e7c52704fa710519d13f5cccc21b05d75

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