Quay lại kỹ năng
country-info
bởi picaye
CLI Utilities—Chưa có đánh giá
Đánh giá của bạn
Tóm tắt
Get country data — population, languages, currencies, capital, flag, and more using REST Countries API.
Mô tả
Kỹ năng này làm gì
Fetches country data from the REST Countries API, including population, capital, languages, currencies, and flags. Supports lookup by name, country code, currency, language, or region.
No API key or account is required, and partial name matching works so exact spelling is not needed.
Khi nào nên dùng
- Looking up a country's capital city
- Finding what currency a country uses
- Listing all countries that speak a given language
- Comparing population figures across countries
- Getting all countries in a geographic region
Quy trình ví dụ
ĐẦU VÀO
User asks: What language do they speak in Brazil?
AGENT
- 1
Query REST Countries API by name: /name/brazil
- 2
Parse the languages field from the response object
- 3
Format the language names into a readable reply
ĐẦU RA
Portuguese is the official language of Brazil
Cài đặt
clawhub install picaye/country-infoChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.