api-script
CommunityAuto-generate robust Python API scripts for REST data
Authorrandoneering
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automate the creation of Python scripts that fetch data from REST APIs and persist results to PostgreSQL, reducing manual coding and boilerplate.
Core Features & Use Cases
- Single-file Python scripts with a CLI (argparse) and subcommands for daily, range, and last-day fetches.
- Built-in HTTP requests handling with timeouts, retries, and structured error reporting.
- Upsert logic to insert or update records in PostgreSQL, ensuring idempotent runs.
- Optional authentication patterns and reference templates for common API providers.
Quick Start
Provide your API base URL, authentication method, and target PostgreSQL connection to generate a ready-to-run data-fetching script.
Dependency Matrix
Required Modules
requestspsycopg2
Components
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: api-script Download link: https://github.com/randoneering/nix-flake-mirror/archive/main.zip#api-script Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.