Skip to main content

Sage One API Client

Project description

A simple Python client for interacting with the Sage One API.

Installation

$ pip install sageone-api-client

Usage

  1. Register for a Sage One account and request an API key by following the instructions at https://accounting.sageone.co.za/Marketing/DeveloperProgram.aspx

  2. Review the supported Sage One API documentation at https://accounting.sageone.co.za/api/1.1.1/Help

  3. Use the Python API client to interact with the API:

    >>> from sageone.client import APIClient
    >>> c = APIClient(
    ...     'https://accounting.sageone.co.za',
    ...     '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}',
    ...     'your-sage-one-username',
    ...     'your-password')
    >>> r = c('get', 'Company', 'Get')
    >>> print(r)

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

sageone-api-client-0.0.2.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file sageone-api-client-0.0.2.tar.gz.

File metadata

File hashes

Hashes for sageone-api-client-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3941c067328737c1499390d3f8f65238af85a90478fb89a1bfec54f20ad3e52f
MD5 60799b3e500573898b014bbc98fb14c0
BLAKE2b-256 1aa22c83199d3faeeeaf9199ca0522f11afb1149f79896e99f01e5b96eac9ab9

See more details on using hashes here.

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