Metadata-Version: 2.4
Name: crossly
Version: 0.3.1
Summary: Official Python client for the Crossly seller API: listings, crossposting, orders, inventory, webhooks.
Home-page: https://crossly.net
Author: Crossly
Author-email: support@crossly.net
License: MIT
Project-URL: Documentation, https://crossly.net/docs/api-quickstart
Project-URL: Source, https://github.com/crossly-dev/crossly-python
Project-URL: Issues, https://github.com/crossly-dev/crossly-python/issues
Project-URL: Changelog, https://github.com/crossly-dev/crossly-python/blob/main/CHANGELOG.md
Project-URL: Sign up, https://crossly.net/register
Keywords: crossly,crosslisting,reselling,ebay,poshmark,mercari,depop,sdk,api
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: urllib3>=1.25.3
Requires-Dist: python-dateutil
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

<!-- Written by codegen/integrations/extras/python/finish.mjs -->
# crossly

[Crossly](https://crossly.net) is a crosslisting platform for resellers: list an item once and sell it on eBay,
Poshmark, Mercari, Depop, Etsy, Shopify and more, with sales, delists and inventory kept in sync across every
marketplace. This package is the official client for the **seller** API: listings, crossposting, orders,
inventory, analytics and signed webhooks.

## Install

```sh
pip install crossly
```

Python 3.8 or newer. It authenticates with a Personal Access Token (`crossly_pat_…`, Crossly → Settings → Developer) or a seller OAuth token.

## First call

```python
import os
from crossly.client import Crossly

crossly = Crossly(os.environ["CROSSLY_TOKEN"])  # crossly_pat_…
page = crossly.listings.list_listings(page=1, limit=25)
for item in page.data:
    print(item.id, item.title, item.status)
```

`crossly.<area>` is the generated `crossly.api.<area>_api` class bound to one configured client, with retries
(honouring `Retry-After`), an `Idempotency-Key` on every write, pagination helpers (`iter_items`, `iter_pages`)
and typed errors (`crossly.client.CrosslyError`). The webhook verifier ships as `crossly.webhooks.verify_webhook`,
with Flask, Django and FastAPI helpers in `crossly.frameworks`.

Shopping on Crossly instead (cart, orders, wishlists, offers)? Use [`crossly-buyer`](https://pypi.org/project/crossly-buyer/).

## Links

- Create a free Crossly account: https://crossly.net/register
- API quickstart: https://crossly.net/docs/api-quickstart
- SDK guide: https://crossly.net/docs/api-sdks
- Every endpoint and model: https://github.com/crossly-dev/crossly-python/blob/main/seller/docs/README.md
- Source, changelog and issues: https://github.com/crossly-dev/crossly-python

MIT licensed. Generated from the public Crossly OpenAPI spec and released automatically, with signed build provenance.
