{"id":31744783,"url":"https://github.com/kevyder/banrepco_api","last_synced_at":"2025-10-09T12:18:29.149Z","repository":{"id":314995479,"uuid":"1056408458","full_name":"kevyder/banrepco_api","owner":"kevyder","description":"An API that provides access to Bank of the Republic of Colombia data, starting with inflation rates.","archived":false,"fork":false,"pushed_at":"2025-10-02T20:24:59.000Z","size":365,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-02T21:20:35.157Z","etag":null,"topics":["cloudflare-workers","fastapi","turso-db"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevyder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-14T03:00:42.000Z","updated_at":"2025-10-02T20:25:03.000Z","dependencies_parsed_at":"2025-09-16T05:48:26.815Z","dependency_job_id":"f0bc5736-cc39-49a5-93ec-6a3e5a4d67d8","html_url":"https://github.com/kevyder/banrepco_api","commit_stats":null,"previous_names":["kevyder/banrepco_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevyder/banrepco_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fbanrepco_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fbanrepco_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fbanrepco_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fbanrepco_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevyder","download_url":"https://codeload.github.com/kevyder/banrepco_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fbanrepco_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001446,"owners_count":26083078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare-workers","fastapi","turso-db"],"created_at":"2025-10-09T12:18:22.101Z","updated_at":"2025-10-09T12:18:29.141Z","avatar_url":"https://github.com/kevyder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BanRepCo API\n\nA FastAPI-based API that provides access to Bank of the Republic of Colombia (BanRep) data, inflation rates and TRM (Representative Market Rate) exchange rate data.\n\n## Features\n\n- Historical inflation rates data\n- TRM (Representative Market Rate) exchange rate data\n- Filter data by date ranges\n- Get specific records by date\n- Real-time TRM data updates from Banco de la República\n- SQLite database with Turso integration\n- Containerized deployment on Cloudflare\n\n## Requirements\n\n- Python 3.13+\n- Node 22.16.0+\n- Turso CLI (for database management)\n- Docker (for local development)\n- Cloudflare account (for deployment)\n\n## Local Development Setup\n\nTo run the project locally, check out the [API README](./api/README.md).\n\n### Running with Wrangler\n\n1. Install dependencies\n```bash\nnpm install\n```\n\n2. Run the development server\n```bash\nnpm run dev\n```\n\nServer will be available at `http://localhost:8787`.\n\n## Cloudflare Deployment\n\n### Prerequisites\n\n1. Install Wrangler CLI (if not already installed)\n```bash\nnpm install -g wrangler\n```\n\n2. Login to Cloudflare\n```bash\nwrangler login\n```\n\n### Deployment\n\nTo deploy to Cloudflare the Cloudflare workers paid plan is required\n```bash\n# Deploy the container\nnpm run deploy\n```\n\n## API Documentation\n\nOnce the server is running, you can access:\n- API documentation: `/docs`\n- Alternative documentation: `/redoc`\n\n### Available Endpoints\n\n#### Inflation Endpoints\n- `GET v1/inflation`: Get paginated inflation data\n- `GET v1/inflation/date-range`: Get inflation data by date range\n- `GET v1/inflation/{year}/{month}`: Get specific inflation record\n\n#### TRM (Exchange Rate) Endpoints\n- `GET v1/trm`: Get paginated TRM data with optional sorting\n- `GET v1/trm/by-date-range`: Get TRM data within a specified date range\n- `GET v1/trm/by-date`: Get TRM data for a specific date\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Run tests (if available)\n5. Submit a pull request\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevyder%2Fbanrepco_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevyder%2Fbanrepco_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevyder%2Fbanrepco_api/lists"}