{"id":18383946,"url":"https://github.com/speakeasy-sdks/lago-python","last_synced_at":"2025-10-14T00:34:04.424Z","repository":{"id":151188119,"uuid":"623921761","full_name":"speakeasy-sdks/lago-python","owner":"speakeasy-sdks","description":"A python SDK for accessing the lago-python API.","archived":false,"fork":false,"pushed_at":"2024-04-02T21:19:49.000Z","size":377,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-12T04:46:04.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/speakeasy-sdks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-04-05T11:22:49.000Z","updated_at":"2023-04-05T11:39:41.000Z","dependencies_parsed_at":"2024-04-02T21:50:56.859Z","dependency_job_id":"b4bc940e-d1e9-4995-bb06-136cc5b7c3e3","html_url":"https://github.com/speakeasy-sdks/lago-python","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/speakeasy-sdks/lago-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Flago-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Flago-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Flago-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Flago-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speakeasy-sdks","download_url":"https://codeload.github.com/speakeasy-sdks/lago-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Flago-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017355,"owners_count":26086052,"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-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2024-11-06T01:13:05.085Z","updated_at":"2025-10-14T00:34:04.390Z","avatar_url":"https://github.com/speakeasy-sdks.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/6267663/230070609-43e6bc4c-e839-49ac-82b8-04ebc5ff3a89.svg\" width=\"250\"\u003e\n    \u003ch1\u003ePython SDK\u003c/h1\u003e\n   \u003cp\u003eOpen-source metering and usage-based billing\u003c/p\u003e\n   \u003ca href=\"https://doc.getlago.com/docs/api/intro\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Docs\u0026message=API Ref\u0026color=000\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n   \u003ca href=\"https://github.com/speakeasy-sdks/lago-python/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/speakeasy-sdks/lago-python/speakeasy_sdk_generation.yml?style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/speakeasy-sdks/lago-python/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/speakeasy-sdks/lago-python?sort=semver\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\n\u003c!-- Start SDK Installation --\u003e\n## SDK Installation\n\n```bash\npip install lago-billing\n```\n\u003c!-- End SDK Installation --\u003e\n\n## SDK Example Usage\n\u003c!-- Start SDK Example Usage --\u003e\n```python\nimport lago\nfrom lago.models import operations, shared\n\ns = lago.Lago(\n    security=shared.Security(\n        bearer_auth=\"Bearer YOUR_BEARER_TOKEN_HERE\",\n    ),\n)\n\n\nreq = operations.FindInvoiceRequest(\n    id=\"1a901a90-1a90-1a90-1a90-1a901a901a90\",\n)\n    \nres = s.invoices.find(req)\n\nif res.invoice is not None:\n    # handle response\n```\n\u003c!-- End SDK Example Usage --\u003e\n\n\u003c!-- Start SDK Available Operations --\u003e\n## Available Resources and Operations\n\n\n### add_ons\n\n* `apply` - Apply an add-on to a customer\n* `create` - Create a new add-on\n* `destroy` - Delete an add-on\n* `find` - Find add-on by code\n* `find_all` - Find add-ons\n* `update` - Update an existing add-on\n\n### billable_metrics\n\n* `create` - Create a new billable metric\n* `destroy` - Delete a billable metric\n* `find` - Find billable metric by code\n* `find_all` - Find Billable metrics\n* `find_all_groups` - Find Billable metric groups\n* `update` - Update an existing billable metric\n\n### coupons\n\n* `applied_coupons` - Find Applied Coupons\n* `apply` - Apply a coupon to a customer\n* `create` - Create a new coupon\n* `destroy` - Delete a coupon\n* `find` - Find coupon by code\n* `find_all` - Find Coupons\n* `update` - Update an existing coupon\n\n### credit_notes\n\n* `create` - Create a new Credit note\n* `download` - Download an existing credit note\n* `find` - Find credit note\n* `find_all` - Find Credit notes\n* `update` - Update an existing credit note\n* `void` - Void existing credit note\n\n### customers\n\n* `create` - Create a customer\n* `current_usage` - Find customer current usage\n* `delete_applied_coupon` - Delete customer's appplied coupon\n* `destroy` - Delete a customer\n* `find` - Find customer by external ID\n* `find_all` - Find customers\n* `portal_url` - Get customer portal URL\n\n### events\n\n* `estimate_fees` - Estimate fees for an instant charge\n* `batch_create` - Create batch events\n* `create` - Create a new event\n* `find` - Find event by transaction ID\n\n### fees\n\n* `find` - Find fee by ID\n* `find_all` - Find all fees\n* `update` - Update an existing fee\n\n### invoices\n\n* `download` - Download an existing invoice\n* `finalize` - Finalize a draft invoice\n* `find` - Find invoice by ID\n* `find_all` - Find all invoices\n* `retry` - Retry invoice payment\n* `update` - Update an existing invoice status\n* `void` - Refresh a draft invoice\n\n### organizations\n\n* `update` - Update an existing Organization\n\n### plans\n\n* `create` - Create a new plan\n* `destroy` - Delete a plan\n* `find` - Fin plan by code\n* `find_all` - Find plans\n* `update` - Update an existing plan\n\n### subscriptions\n\n* `create` - Assign a plan to a customer\n* `destroy` - Terminate a subscription\n* `find_all` - Find subscriptions\n* `update` - Update an existing subscription\n\n### wallets\n\n* `create` - Create a new wallet\n* `create_transaction` - Create a new wallet transaction\n* `destroy` - Delete a wallet\n* `find` - Find wallet\n* `find_all` - Find wallets\n* `find_all_transactions` - Find wallet transactions\n* `update` - Update an existing wallet\n\n### webhooks\n\n* `fetch_public_key` - Fetch webhook public key\n\u003c!-- End SDK Available Operations --\u003e\n\n### Maturity\n\nThis SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage\nto a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally\nlooking for the latest version.\n\n### Contributions\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically.\nFeel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !\n\n### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-sdks%2Flago-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeakeasy-sdks%2Flago-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-sdks%2Flago-python/lists"}