Skip to main content

A python module to interact with the Xurrent API.

Reason this release was yanked:

unstable

Project description

Xurrent Module

This module is used to interact with the Xurrent API. It provides a set of classes to interact with the API.

Usage

Basic Usage

    from xurrent.core import XurrentApiHelper

    apitoken = "********"

    baseUrl = "https://api.4me.qa/v1"
    account = "account-name"

    logger = setup_logger(verbose=True)

    x_api_helper = XurrentApiHelper(baseUrl, apitoken, account)

Requests

    from xurrent.requests import Request

    request = Request.get_by_id(x_api_helper, <id>)

    # get all requests with a specific subject
    requests = Request.get_request(x_api_helper,queryfilter={
    "subject": "Example Subject"
    })

    # close
    request.close("closed")

    # archive
    request.archive()

    #trash
    request.trash()

    #restore

    request.restore()
    

Request Notes

    from xurrent.requests import Request
    
    request = Request.get_by_id(x_api_helper, <id>)

    request_note = request.get_by_id(x_api_helper, <id>)

    # get all request notes with a specific subject
    request_notes = request.get_notes(x_api_helper, predefinedFilter="public")

    request.add_note("This is a test note")
    request.add_note({
        "text": "This is a test note",
        "internal": True
    })

Tasks

    from xurrent.tasks import Task

    task = Task.get_by_id(x_api_helper, <id>)

    # get all tasks with a specific subject
    tasks = Task.get_task(x_api_helper,queryfilter={
    "subject": "Example Subject"
    })

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

xurrent-0.0.2.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

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

xurrent-0.0.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file xurrent-0.0.2.tar.gz.

File metadata

  • Download URL: xurrent-0.0.2.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for xurrent-0.0.2.tar.gz
Algorithm Hash digest
SHA256 88c28ffcd0969aae18cd87f3b0318d9c7f4e4c7d401b4aac556b5bfed8329ee9
MD5 7d76d716f17e9044e61c010400bb4e1a
BLAKE2b-256 4e50a44e74f76d586d54c834ccebe636da539d637f35db594c48894de8913657

See more details on using hashes here.

Provenance

The following attestation bundles were made for xurrent-0.0.2.tar.gz:

Publisher: python-publish.yml on fasteiner/xurrent-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xurrent-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: xurrent-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for xurrent-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 de91db1904748d67a9d114b3a25c1bea306305c733a60d4cb8bb3bb9c4e64bb4
MD5 d71400f3f69c94ef0e7e13d4e7a9f553
BLAKE2b-256 b4f9e564e878226da6327476196c70663134d79f1b3d94335c639a6cf5d8bbec

See more details on using hashes here.

Provenance

The following attestation bundles were made for xurrent-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on fasteiner/xurrent-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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