{"id":31650999,"url":"https://github.com/tradevpsnet/client-python","last_synced_at":"2025-10-07T08:44:09.628Z","repository":{"id":290002474,"uuid":"963802005","full_name":"tradevpsnet/client-python","owner":"tradevpsnet","description":"The official Python client for TradeVPS APIs. ","archived":false,"fork":false,"pushed_at":"2025-04-10T10:18:07.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-26T08:42:05.796Z","etag":null,"topics":["apis","client","python","tradevps"],"latest_commit_sha":null,"homepage":"","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/tradevpsnet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2025-04-10T08:24:47.000Z","updated_at":"2025-04-10T10:17:45.000Z","dependencies_parsed_at":"2025-04-26T08:42:08.161Z","dependency_job_id":"aa505cce-f43f-4063-b0df-253c0dbfaffd","html_url":"https://github.com/tradevpsnet/client-python","commit_stats":null,"previous_names":["tradevpsnet/client-python"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tradevpsnet/client-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradevpsnet%2Fclient-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradevpsnet%2Fclient-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradevpsnet%2Fclient-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradevpsnet%2Fclient-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tradevpsnet","download_url":"https://codeload.github.com/tradevpsnet/client-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradevpsnet%2Fclient-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278746521,"owners_count":26038704,"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-07T02:00:06.786Z","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":["apis","client","python","tradevps"],"created_at":"2025-10-07T08:44:08.501Z","updated_at":"2025-10-07T08:44:09.623Z","avatar_url":"https://github.com/tradevpsnet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TradeVPS Python Client\n\nThe official Python client for TradeVPS APIs.\n\n## Installation\n\n```bash\npip install tradevps\n```\n\n## Quick Start\n\n```python\nfrom tradevps import Client\nfrom tradevps.exceptions import AuthenticationError, APIError\n\n# Initialize client\nclient = Client()\n\n# Method 1: Login with email/password\ntry:\n    auth = client.login(\"your-email@example.com\", \"your-password\")\n    print(f\"Logged in as: {auth.user.name}\")\n    \n    # Token is automatically set after login\n    # You can also set it manually:\n    client.set_api_key(auth.token)\nexcept AuthenticationError as e:\n    print(f\"Authentication failed: {e}\")\n\n# Method 2: Initialize with API key directly\nclient = Client(api_key=\"your-api-key\")\n\n# Handle API errors\ntry:\n    # Your API calls here\n    pass\nexcept APIError as e:\n    print(f\"API error: {e.message} (Status: {e.status_code})\")\n```\n\n## Development\n\n1. Clone the repository\n2. Install dependencies: `pdm install`\n3. Run tests: `pdm run pytest`\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftradevpsnet%2Fclient-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftradevpsnet%2Fclient-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftradevpsnet%2Fclient-python/lists"}