customs-company-stats
Installation
SKILL.md
Customs Company Basic Trade Statistics
Query company basic trade statistics from customs data using the UpKuaJing Open Platform API.
Overview
This skill provides access to company basic trade statistics from UpKuaJing's customs database. Given a company ID (companyId) and company type, it returns the trade summary including total trade count, weight, quantity, amount, partner count, and trade date range.
Running Scripts
Environment Setup
- Check Python:
python --version - Install dependencies:
pip install -r requirements.txt
Script directory: scripts/*.py
Run example: python scripts/*.py
Important: Always use direct script invocation like python scripts/customs_company_stats.py. Do NOT use shell compound commands like cd scripts && python customs_company_stats.py