Chizhik API (not official)
Chizhik (Чижик) - https://chizhik.club/
⭐ Star us on GitHub | 📚 Read the Docs | 🐛 Report Bug
Принцип работы
Библиотека полностью повторяет сетевую работу обычного пользователя на сайте.
pip install chizhik_api
python -m camoufox fetch
from chizhik_api import ChizhikAPI
async def main():
# RUS: Использование проксирования опционально. Вы можете создать несколько агентов с разными прокси для ускорения парса.
# ENG: Proxy usage is optional. You can create multiple agents with different proxies for faster parsing.
async with ChizhikAPI(proxy="user:password@host:port", headless=False) as API:
# RUS: Выводит активные предложения магазина
# ENG: Outputs active offers of the store
print(f"Active offers output: {(await API.Advertising.active_inout()).json()!s:.100s}...\n")
# RUS: Выводит список городов соответствующих поисковому запросу (только на русском языке)
# ENG: Outputs a list of cities corresponding to the search query (only in Russian language)
city_list = (await API.Geolocation.cities_list(search_name='ар', page=1)).json()
print(f"Cities list output: {city_list!s:.100s}...\n")
# Счет страниц с единицы / index starts from 1
# RUS: Выводит список всех категорий на сайте
# ENG: Outputs a list of all categories on the site
catalog = (await API.Catalog.tree()).json()
print(f"Categories list output: {catalog!s:.100s}...\n")
# RUS: Выводит список всех товаров выбранной категории (ограничение 100 элементов, если превышает - запрашивайте через дополнительные страницы)
# ENG: Outputs a list of all items in the selected category (limiting to 100 elements, if exceeds - request through additional pages)
items = (await API.Catalog.products_list(category_id=catalog[0]['id'], page=1)).json()
print(f"Items list output: {items!s:.100s}...\n")
# Счет страниц с единицы / index starts from 1
# RUS: Сохраняем изображение с сервера (в принципе, сервер отдал бы их и без обертки моего объекта, но лучше максимально претворяться обычным пользователем)
# ENG: Saving an image from the server (in fact, the server gave them and without wrapping my object, but better to be as a regular user)
image = await API.General.download_image(items['items'][0]['images'][0]['image'])
with open(image.name, 'wb') as f:
f.write(image.read())
import asyncio
asyncio.run(main())
Для более подробной информации смотрите референсы документации.
Report
If you have any problems using it / suggestions, do not hesitate to write to the project's GitHub!
Metadata
Release files for chizhik-api 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chizhik_api-0.2.5.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chizhik_api-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / chizhik_api-0.2.5.tar.gz
| Download URL | chizhik_api-0.2.5.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5540bd93e709202a4137bd8682bb8bdf5ee25432ddf96aeb5d21b9a8764b0a89
|
|
BLAKE2b-256 checksum How to use checksums |
3c72603fc4b7a6bf8e934c7ba4bd9431ffa856c425db14aab210ee01636461a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 24, 2026.
Transparency logRelease files / chizhik_api-0.2.5-py3-none-any.whl
| Download URL | chizhik_api-0.2.5-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cd52dcd5bf7522edc73dd942394499a6d6cca4747e6ed451539f10e1c7afa37
|
|
BLAKE2b-256 checksum How to use checksums |
ae152a3a0afb2ce33325fbb89f05ae4f0d4ed42ac4157dde9e8dbce10e138282
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 24, 2026.
Transparency log