界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

avito

avito

【效率与协作】Manage Avito.ru account, items, and messenger via API. Use for listing items, checking balance, reading chats, and getting account info.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: avito description: Manage Avito.ru account, items, and messenger via API. Use for listing items, checking balance, reading chats, and getting account info.

Avito

This skill provides tools to interact with the Avito.ru API.

Requirements

  • requests library for Python.
  • Avito Client ID and Client Secret.

Setup

Set your credentials in your environment or provide them when prompted.

Features

Authentication

Get an access token using your client credentials.

python3 scripts/auth.py <client_id> <client_secret>

Account Info

Get information about your account, including your user_id.

python3 scripts/get_self.py <token>

Balance

Check your account balance.

python3 scripts/get_balance.py <token> <user_id>

Items Management

List your current advertisements.

python3 scripts/list_items.py <token>

Messenger

List chats in your account.

python3 scripts/list_chats.py <token> <user_id>

Note: Messenger API access may require a specific Avito subscription.

TODO

  • Implement item creation (POST /items).
  • Implement item status updates (editing, deleting).
  • Implement webhook registration.
  • Implement messenger message sending and retrieval.
我的收藏