Skip to main content

Installation

Use the package manager pip to install Atshop.

pip install atshop

Usage

from atshop import Client

client = Client()
client.login('token')

product = client.request(
    method='admin.product.add',

    shop_id='4AueTN7mx6xRurrfu',
    product={
        'name': 'Clap is cool <3',
        'description': '',
        'purchaseNotes': '',
        'value': 100,
        'icon': '',
        'minQuantity': 1,
        'maxQuantity': 0,
        'image_url': '',
        'style': 'box',
        'requireShipping': 'no',
        'paymentMethods': [],
        'maxDisplayedStock': 0,
        'preventDuplicates': True,
        'priority': 0,
        'category': '',
        'displayDescription': True,
        'useOrderIdAsItemName': False,
        'hidden': False,
        'notForSale': False
    }
)

print(product['result'])

Documentation

Everything you need is listed in the Atshop Documentation.

Metadata

Release files for atshop 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atshop 1.0.0
File Size Uploaded
atshop-1.0.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for atshop 1.0.0
File Interpreter ABI Platform
atshop-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / atshop-1.0.0.tar.gz

Download URL atshop-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5d891dea16093513f38dbb05d2047e0276c2c48b7b1336e0d8d091e67637f6d5
BLAKE2b-256 checksum
How to use checksums
454adddddd4ca2d6f9b794c90b3e7894eb24625b85588f465c3b05b8e23bda3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.9

Release files / atshop-1.0.0-py3-none-any.whl

Download URL atshop-1.0.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33fd946d596e2921a11af5547efdaab2859c70255c1e1b4c18158179a8640e30
BLAKE2b-256 checksum
How to use checksums
a24bb3ea26b7002ea07333aeed50554e8b7839ee6bf6aa2d4a5631d9a1b60554
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release 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