{"id":19404526,"url":"https://github.com/seven-io/python-client","last_synced_at":"2025-12-29T22:48:20.844Z","repository":{"id":57468736,"uuid":"281940462","full_name":"seven-io/python-client","owner":"seven-io","description":"Official Python API Client for seven","archived":false,"fork":false,"pushed_at":"2024-03-19T10:13:17.000Z","size":221,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-29T13:02:34.266Z","etag":null,"topics":["api-client","cnam","hlr","mnp","sdk","sms","text2speech"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/sms77api/","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/seven-io.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}},"created_at":"2020-07-23T12:05:38.000Z","updated_at":"2024-04-15T15:36:23.377Z","dependencies_parsed_at":"2024-04-15T15:36:17.551Z","dependency_job_id":"f3b8556e-2f9d-4c6a-92b6-5fa8b63b495d","html_url":"https://github.com/seven-io/python-client","commit_stats":null,"previous_names":["sms77io/python-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-io%2Fpython-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-io%2Fpython-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-io%2Fpython-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seven-io%2Fpython-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seven-io","download_url":"https://codeload.github.com/seven-io/python-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428422,"owners_count":20289315,"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","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":["api-client","cnam","hlr","mnp","sdk","sms","text2speech"],"created_at":"2024-11-10T11:35:22.747Z","updated_at":"2025-12-29T22:48:20.798Z","avatar_url":"https://github.com/seven-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://www.seven.io/wp-content/uploads/Logo.svg\" width=\"250\" /\u003e\n\n\n# Python API Client\n\n## Installation\n\nMake sure you have [Python 3](https://www.python.org/downloads/) installed.\n\n```shell script\npip3 install sms77api\n```\n\n### Methods\n\n```python\ndef __init__(self, api_key: str, sent_with: str = 'Python'):\n    pass\n\n\ndef analytics(self, params={}):\n    pass\n\n\ndef balance(self, api_key: str = None):\n    pass\n\n\ndef contacts(self, action: ContactsAction, params: dict = {}):\n    pass\n\n\ndef hooks(self, action: HooksAction, params: dict = {}):\n    pass\n\n\ndef journal(self, typ: JournalType, params: dict = {}):\n    pass\n\n\ndef lookup(self, typ: LookupType, number: str, json: bool = False):\n    pass\n\n\ndef pricing(self, format_: PricingFormat = PricingFormat.CSV, country: str = None):\n    pass\n\n\ndef sms(self, to: str, text: str, params: dict = {}):\n    pass\n\n\ndef status(self, msg_id: int):\n    pass\n\n\ndef subaccounts(self, action: SubaccountsAction, params: dict = {}):\n    pass\n\n\ndef validate_for_voice(self, number: str, callback: str = None):\n    pass\n\n\ndef voice(self, to: str, text: str, params: dict = {}):\n    pass\n```\n\n### Examples\n\n#### Retrieve balance associated with given API key\n\n```python\nfrom sms77api.Sms77api import Sms77api\n\nclient = Sms77api(\"InsertYourSuperSecretApiKeyFromSms77\")\nprint(client.balance())\n```\n\n#### Send an SMS and return a detailed JSON response\n\n```python\nfrom sms77api.Sms77api import Sms77api\nimport os\n\nclient = Sms77api(os.environ.get('SMS77_API_KEY', 'FallbackValueIfMissing'))\nprint(client.sms('+491771783130', 'Hi friend!', {'json': True}))\n```\n\n#### Support\n\nNeed help? Feel free to [contact us](https://www.sms77.io/en/company/contact/).\n\n###### License\n\n[![MIT](https://img.shields.io/badge/License-MIT-teal.svg)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseven-io%2Fpython-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseven-io%2Fpython-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseven-io%2Fpython-client/lists"}