Skip to content

Add API Integration example (#6) - #5

Merged
janrummel merged 1 commit into
mainfrom
feature/api-integration
Mar 9, 2026
Merged

Add API Integration example (#6)#5
janrummel merged 1 commit into
mainfrom
feature/api-integration

Conversation

@janrummel

Copy link
Copy Markdown
Owner

Summary

  • Sixth runnable example: API Integration (pattern: trigger → api → transform → data)
  • REST API data collector with JSON path extraction, field picking, and column renaming
  • 5 integration presets: GitHub Repos, Weather Forecast, Currency Rates, HackerNews Top, System Status
  • Works offline with sample data fallback, optional --live flag for real API calls
  • 36 tests, zero runtime dependencies (stdlib urllib.request)

Test plan

  • All 36 tests pass (uv run pytest tests/ -v)
  • CLI runs with --integration 5 (non-interactive)
  • Sample data fallback works when API unavailable
  • CSV and JSON output formats work
  • Verify --live mode with GitHub API manually

🤖 Generated with Claude Code

Sixth runnable example: REST API data collector with JSON response
transformation and CSV/JSON storage. 5 integration presets, 36 tests.
Works offline with sample data fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
janrummel added a commit that referenced this pull request Mar 9, 2026
@janrummel
janrummel merged commit bc053c8 into main Mar 9, 2026
1 check passed
@janrummel
janrummel deleted the feature/api-integration branch March 9, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant