Query work experience data from the global company database (全球企业库) using the UpKuaJing Open Platform API.
This skill provides access to person work experience information from UpKuaJing's global company database. Given a person ID (hid), it returns the list of work experiences with company names, job titles, employment dates, and period status. Optionally filter by company ID (pid) to get only the experience at a specific company.
hid (person ID) can be obtained from global-company-person-search (person search) resultspython --versionpip install -r requirements.txtScript directory: scripts/*.py
Run example: python scripts/*.py
Important: Always use direct script invocation like python scripts/person_experience_list.py. Do NOT use shell compound commands like cd scripts && python person_experience_list.py
person_experience_list.py)想要更强大的技能插件,就来小葱技能站7w4.net看看吧。
This skill requires an API key. The API key is stored in the ~/.upkuajing/.env file:
cat ~/.upkuajing/.env
Example file content:
UPKUAJING_API_KEY=your_api_key_here
First check if the ~/.upkuajing/.env file has UPKUAJING_API_KEY;
If UPKUAJING_API_KEY is not set, prompt the user to choose:
auth.py --new_key), the new key will be automatically saved to ~/.upkuajing/.env
Wait for user selection;When API response indicates insufficient balance, explain and guide user to top up:
auth.py --new_rec_order)Use this script to get account information for UPKUAJING_API_KEY: auth.py --account_info
All API calls incur fees, different interfaces have different billing methods.
Latest pricing: Users can visit Detailed Price Description
Or use: python scripts/auth.py --price_info (returns complete pricing for all interfaces)
Billed by number of calls, each call returns one page of work experience records:
--cursor to get additional pages (each page is a separate call)Any operation that incurs fees must first inform and wait for explicit user confirmation. Do not execute in the same message as the notification.
| User Intent | Use API |
|---|---|
| "Find work experience of person H_67890" | Work Experience List Query |
| "Find work experience of person H_67890 at company US_12345" | Work Experience List Query (with --pid) |
User request: "Find work experience of person H_67890"
python scripts/person_experience_list.py --hid H_67890
Filter by company:
python scripts/person_experience_list.py --hid H_67890 --pid US_12345
Get next page (use cursor returned from previous response):
python scripts/person_experience_list.py --hid H_67890 --cursor 'cursor_string_from_previous_response'
UPKUAJING_API_KEY in ~/.upkuajing/.env fileCheck API documentation:
Pagination:
cursor, more data is availablecursor value to get the next pagecursor means there is no more dataCross-skill usage:
hid (person ID) can be obtained from global-company-person-search (person search) resultspid (company ID) from work experience results can be used with global-company-search or global-company-employee to find more details about the companyhid as the person unique identifier; pid is the company identifierpostStatus indicates employment status: 0-unknown, 1-employed, 2-left, 3-uncertainendDate of 0 means "present" (currently holds the position)python scripts/auth.py --price_info to get accurate pricing informationOther UpKuaJing skills you might find useful:
这个Skill功能专一、文档清晰、使用简单,查询工作经历很方便。版本更新提醒和费用确认机制都很贴心。存在一个明显的质量问题:功能介绍写的是"教育背景查询",实际功能却是"工作经历查询",描述对不上,容易误导用户。修正描述后,整体质量不错。