apparel-monster (Python)
SDK and CLI for the Apparel Monster agent commerce API. Standard library only — no requests, no dependencies at all.
pip install apparel-monster
from apparel_monster import ApparelMonster
store = ApparelMonster()
found = store.search("denim shirt", limit=3)
store.add_to_cart(found["products"][0]["variants"][0]["id"])
cart = store.set_billing(
email="shopper@example.com",
line_one="1 Market St",
city="San Francisco",
region_id="CA",
postal_code="94105",
)
store.set_shipping(cart["shipping_options"][0]["id"])
store.set_payment("tok_test_123")
order = store.checkout()
No API key: every call except order history is anonymous. Prices live on variants, never on the product.
apparel-monster search "denim shirt" --limit 3 --text
apparel-monster ask "coat" --stream
apparel-monster buy 118 --text
Errors name what they needed:
from apparel_monster import ApparelMonsterError
try:
store.set_billing(line_one="1 Market St")
except ApparelMonsterError as error:
error.code # "missing_fields"
error.missing # [{"field": "city", ...}, {"field": "postal_code", "accepts": [...]}]
apparel.monster is a demo storefront: orders are placed against a test gateway, nothing ships and no money moves.
Full documentation: https://apparel.monster/developers · Source: https://github.com/mluggy/apparel-monster-dev
Metadata
Release files for apparel-monster 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apparel_monster-1.0.2.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apparel_monster-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.9 kB
Release files / apparel_monster-1.0.2.tar.gz
| Download URL | apparel_monster-1.0.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bed5ec664cbaed3edcceef9066f2fd5b8fb580fbb70023ed4d34ef14e3234d0
|
|
BLAKE2b-256 checksum How to use checksums |
57881e08d3ff8fbcd647f1899c1ab4f9fa38a841d332eb71a25d9537877662a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.15
|
Release files / apparel_monster-1.0.2-py3-none-any.whl
| Download URL | apparel_monster-1.0.2-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73d4da69344d6045594826577162f87b600960792ae689e574817e34d2647a65
|
|
BLAKE2b-256 checksum How to use checksums |
d5a1816a7eea9dce657eb278358ffe85ad533d54cf23aacccca5c4ea5a4f14d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.15
|