A standalone Claude Code skill that helps developers integrate with the AMPECO EV Charging Platform Public API.
- API Exploration: Browse 449+ API endpoints organized by resource type
- Schema Reference: View request/response schemas with properties and types
- Deprecation Tracking: Identify deprecated endpoints and their replacements
- Common Patterns: Learn authentication, pagination, filtering, and error handling
- Auto-Update: Regenerate documentation from the latest OpenAPI spec
# Clone into your personal skills directory
git clone https://github.com/ampeco/claude-code-public-api-skill.git ~/.claude/skills/ampeco-public-api# Clone into your project's skills directory
git clone https://github.com/ampeco/claude-code-public-api-skill.git .claude/skills/ampeco-public-api
# Or add as a git submodule
git submodule add https://github.com/ampeco/claude-code-public-api-skill.git .claude/skills/ampeco-public-apiAfter installation, restart Claude Code for the skill to become available.
The update script requires:
- curl: For fetching the OpenAPI spec
- jq: For JSON processing
Install jq:
# macOS
brew install jq
# Ubuntu/Debian
apt-get install jq
# Windows (with Chocolatey)
choco install jqOnce installed, use natural language to interact with the AMPECO Public API skill:
Example Prompts:
- "What AMPECO API endpoints are available for charge points?"
- "How do I authenticate with the AMPECO Public API?"
- "Show me the pagination patterns for AMPECO API"
- "List all deprecated AMPECO API endpoints"
- "What schemas are available in the AMPECO API?"
The skill will automatically:
- Suggest running the update script if docs are outdated
- Load relevant reference files
- Provide accurate API information
To fetch the latest OpenAPI spec and regenerate documentation:
# From the skill directory
cd ~/.claude/skills/ampeco-public-api # or .claude/skills/ampeco-public-api
bash scripts/fetch-and-generate.shThis will:
- Fetch the latest spec from https://developers.ampeco.com/openapi/
- Regenerate
endpoints-index.md,schemas-index.md, anddeprecation-map.md - Update the quick index in
SKILL.md
ampeco-public-api/
├── SKILL.md # Skill definition and quick reference
├── scripts/
│ └── fetch-and-generate.sh # Updates reference docs from OpenAPI spec
└── reference/
├── endpoints-index.md # All 449+ API endpoints by resource
├── schemas-index.md # Schema definitions with properties
├── deprecation-map.md # Deprecated endpoints (67+)
├── common-patterns.md # Auth, pagination, filtering, errors
└── data-model.md # Entity relationships and use cases
To use the AMPECO Public API:
- Contact your AMPECO Customer Success Manager, or
- Generate an API token in: Back Office → API Access Tokens
https://{tenantUrl}/public-api/
Replace {tenantUrl} with your organization's tenant URL.
For interactive API documentation, visit: https://developers.ampeco.com
- Documentation: https://developers.ampeco.com
- Issues: GitHub Issues
MIT License - see LICENSE for details.