{"id":19540828,"url":"https://github.com/skocimis/textflow-python","last_synced_at":"2026-04-11T21:38:17.820Z","repository":{"id":136244792,"uuid":"595744992","full_name":"Skocimis/textflow-python","owner":"Skocimis","description":"Python package that helps you helps send SMS and verify users using TextFlow API","archived":false,"fork":false,"pushed_at":"2023-02-05T05:49:58.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T05:17:09.271Z","etag":null,"topics":["api","api-client","python","python-library","python-sms","python3","simple-sms","sms","sms-api","sms-python","sms-python-package","sms-verification","text-message","user-verification"],"latest_commit_sha":null,"homepage":"https://textflow.me","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/Skocimis.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}},"created_at":"2023-01-31T18:14:24.000Z","updated_at":"2024-05-09T18:51:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a35ee0e-7274-4559-99c3-e111263f205b","html_url":"https://github.com/Skocimis/textflow-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Skocimis/textflow-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Skocimis","download_url":"https://codeload.github.com/Skocimis/textflow-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272390836,"owners_count":24926536,"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-08-27T02:00:09.397Z","response_time":76,"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":["api","api-client","python","python-library","python-sms","python3","simple-sms","sms","sms-api","sms-python","sms-python-package","sms-verification","text-message","user-verification"],"created_at":"2024-11-11T03:07:25.088Z","updated_at":"2026-04-11T21:38:12.787Z","avatar_url":"https://github.com/Skocimis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textflow python client\n\n[![PyPI](https://img.shields.io/pypi/v/textflowsms.svg)](https://pypi.python.org/pypi/textflowsms)\n[![PyPI](https://img.shields.io/pypi/pyversions/textflowsms.svg)](https://pypi.python.org/pypi/textflowsms)\n\n### Supported Python Versions\n\nThis library supports the following Python implementations:\n\n* Python 3.6\n* Python 3.7\n* Python 3.8\n* Python 3.9\n* Python 3.10\n* Python 3.11\n\n## Installation\n`pip install textflowsms`\n\n## Sending an SMS\n\nTo send an SMS, you have to create an API key using the [Textflow dashboard](https://textflow.me/api). When you register an account, you automatically get an API key with one free SMS which you can send anywhere.\n\n### Just send a message\n\n```python\nimport textflowsms as tf\ntf.useKey(\"YOUR_API_KEY\");\n\ntf.sendSMS(\"+381611231234\", \"Dummy message text...\")\n```\n\n### Handle send message request result\n\n```python\nresult = tf.sendSMS(\"+381611231234\", \"Dummy message text...\")\nif(result.ok):\n  print(result.data)\nelse:\n  print(result.message)\n```\n\n### Example result object of the successfully sent message\n\n```json\n{\n    \"ok\": true,\n    \"status\": 200,\n    \"message\": \"Message sent successfully\",\n    \"data\": {\n        \"to\": \"+381611231234\",\n        \"content\": \"Dummy message text...\",\n        \"country_code\": \"RS\",\n        \"price\": 0.05,\n        \"timestamp\": 1674759108881\n    }\n}\n```\n\n### Example result object of the unsuccessfully sent message\n\n```json\n{\n    \"ok\": false,\n    \"status\": 404,\n    \"message\": \"API key not found\"\n}\n```\n\n## Verifying a phone number\n\nYou can also use our service to easily verify a phone number, without storing data about the phones that you are about to verify, because we can do it for you.\n\n### Example usage\n\n```python\n# User has sent his phone number for verification\nresultSMS = tf.sendVerificationSMS (\"+11234567890\", service_name, seconds);\n\n# Show him the code submission form\n# We will handle the verification code ourselves\n\n# The user has submitted the code\nresultCode = tf.VerifyCode(\"+11234567890\", user_entered_code);\n# if `resultCode.valid` is True, then the phone number is verified. \n```\n\n#### Verification options\n\n`service_name` is what the user will see in the verification message, e. g. `\"Your verification code for Guest is: CODE\"`\n\n`seconds` is how many seconds the code is valid. Default is 10 minutes. Maximum is one day. \n\n## Getting help\n\nIf you need help installing or using the library, please check the [FAQ](https://textflow.me) first, and contact us at [support@textflow.me](mailto://support@textflow.me) if you don't find an answer to your question.\n\nIf you've found a bug in the API, package or would like new features added, you are also free to contact us!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskocimis%2Ftextflow-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskocimis%2Ftextflow-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskocimis%2Ftextflow-python/lists"}