Skip to main content

Yango Tech Grocery API Client

A Python client library for interacting with the Yango Tech Grocery API. This library provides a comprehensive interface for managing orders, products, prices, stocks, and other grocery-related operations.

Features

  • Order Management: Create, update, cancel, and track orders
  • Product Management: Create and update products, manage product media and VAT
  • Price Management: Handle price lists, prices, and discounts
  • Stock Management: Update and retrieve stock information
  • Store Management: Get store information
  • Receipt Management: Upload and retrieve receipts
  • Event Handling: Process order events and state changes
  • Async Support: Full async/await support for all operations
  • Error Handling: Comprehensive error handling with retry logic

Installation

pip install yango-tech-grocery-client

Quick Start

Basic Setup

import asyncio
from yango_tech_grocery_client import YangoClient

async def main():
    # Initialize the client
    client = YangoClient(
        domain="https://api.retailtech.yango.com",
        auth_token="your_auth_token_here"
    )

    # Your API calls here
    stores = await client.get_stores()
    print(f"Found {len(stores)} stores")

# Run the async function
asyncio.run(main())

For comprehensive examples, see EXAMPLES.md.

Configuration

Client Initialization Options

client = YangoClient(
    domain="https://api.retailtech.yango.com",  # API domain
    auth_token="your_auth_token",           # Authentication token
)

Environment Variables

You can also configure the client using environment variables:

export YANGO_DOMAIN="https://api.retailtech.yango.com"
export YANGO_AUTH_TOKEN="your_auth_token"

Documentation

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yango_tech_grocery_client-1.4.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

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

yango_tech_grocery_client-1.4.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file yango_tech_grocery_client-1.4.0.tar.gz.

File metadata

File hashes

Hashes for yango_tech_grocery_client-1.4.0.tar.gz
Algorithm Hash digest
SHA256 ec87b906a358119143b96f4d66a68400a72f88a65af8eaf33be0e6d12f299fb8
MD5 c862af7b08eb6accfbeb9f2d02f0787b
BLAKE2b-256 7dcafe046330692ece627944488edc6f9c2ab59f6d59a591c491a6f6897a16a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for yango_tech_grocery_client-1.4.0.tar.gz:

Publisher: publish.yml on yango-tech/yango-tech-grocery-client

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

File details

Details for the file yango_tech_grocery_client-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yango_tech_grocery_client-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1de64edc9d408a4c337deaa0adfb4739a57bf0b9ad9c2b89d7f022cf3cdd775
MD5 8866557c8fe87c5298c710a0de927ea9
BLAKE2b-256 b083e48790d1f62f70e1af4392a2ae4469a54a708c30aebf9c83b6e6b7e96f56

See more details on using hashes here.

Provenance

The following attestation bundles were made for yango_tech_grocery_client-1.4.0-py3-none-any.whl:

Publisher: publish.yml on yango-tech/yango-tech-grocery-client

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

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.1.5

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page