Skip to main content

Python client library for the Noyes API

Project description

NysClient

A Python client library for the Noyes API.

Installation

pip install nys-client

Usage

from nys_client import NysClient, RequestType, TriggerStatus

# Initialize client
client = NysClient(api_key="your_api_key")

# Get requests with filtering
requests = client.requests.search(
    filters={"status": "ACCEPTED", "type": "FULFILLMENT"},
    sort_by="-created_at"
)

# Create a new request
new_request = client.requests.create_fulfillment(
    entities=[("SKU123", 1)],
    priority=10
)

# Get jobs with search
jobs = client.jobs.search(
    filters={"status__eq": "EXECUTING", "type__eq": "PICKING"}
)

# Trigger a job
client.jobs.trigger(
    job_id="job-uuid",
    trigger_status=TriggerStatus.SUCCEEDED_TRIGGER
)

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

nys_client-0.1.2.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

nys_client-0.1.2-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file nys_client-0.1.2.tar.gz.

File metadata

  • Download URL: nys_client-0.1.2.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nys_client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 73221a074ec9ce38cb0d0136b69e75a7a76d7e60e8c9d307a63e9e5f267627ad
MD5 1652b03407d0fd9decbbb206068d28a2
BLAKE2b-256 01e874daf42ac4e22f607f983345b1a1f5b150b8315b54f4ed406b9dafdbc859

See more details on using hashes here.

Provenance

The following attestation bundles were made for nys_client-0.1.2.tar.gz:

Publisher: publish-pypi.yml on noyes-tech/nys_monorepo

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

File details

Details for the file nys_client-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nys_client-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nys_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f8e1fb9ab69b7abc72d4090fa6e114a8e53a40132bd308957a194c17c0bc9d3
MD5 30d935b78cb84e754ccc8107efb69587
BLAKE2b-256 94f790e3c89a7c844f15e6ea488b02b2895ae7c5efb2b8f5dd3d2a241acb0dd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for nys_client-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on noyes-tech/nys_monorepo

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