avito
通过 API 管理 Avito.ru 帐户、项目和信使。用于列出项目、检查余额、阅读聊天记录以及获取帐户信息。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~ruslanlanket-avitocURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~ruslanlanket-avito/file -o ruslanlanket-avito.md## 概述(中文) 通过 API 管理 Avito.ru 帐户、项目和信使。用于列出项目、检查余额、阅读聊天记录以及获取帐户信息。 ## 原文 # 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. ```bash python3 scripts/auth.py <client_id> <client_secret> ``` ### Account Info Get information about your account, including your `user_id`. ```bash python3 scripts/get_self.py <token> ``` ### Balance Check your account balance. ```bash python3 scripts/get_balance.py <token> <user_id> ``` ### Items Management List your current advertisements. ```bash python3 scripts/list_items.py <token> ``` ### Messenger List chats in your account. ```bash 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.