{"id":19540844,"url":"https://github.com/skocimis/textflow-csharp","last_synced_at":"2026-05-03T11:32:24.572Z","repository":{"id":136244787,"uuid":"595822300","full_name":"Skocimis/textflow-csharp","owner":"Skocimis","description":"C# NuGet package that helps you send SMS and verify users using TextFlow API","archived":false,"fork":false,"pushed_at":"2023-02-20T19:20:23.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-23T02:10:27.354Z","etag":null,"topics":["api","api-client","csharp","dotnet","nuget","nuget-package","simple-sms","sms","sms-api","sms-verification","text-message"],"latest_commit_sha":null,"homepage":"https://textflow.me","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","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,"zenodo":null}},"created_at":"2023-01-31T21:59:20.000Z","updated_at":"2023-02-05T01:31:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0ec460e-cf80-4277-9555-1a2527d665ed","html_url":"https://github.com/Skocimis/textflow-csharp","commit_stats":null,"previous_names":["skocimis/cs-textflow-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Skocimis/textflow-csharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Skocimis","download_url":"https://codeload.github.com/Skocimis/textflow-csharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skocimis%2Ftextflow-csharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","csharp","dotnet","nuget","nuget-package","simple-sms","sms","sms-api","sms-verification","text-message"],"created_at":"2024-11-11T03:07:33.145Z","updated_at":"2026-05-03T11:32:24.560Z","avatar_url":"https://github.com/Skocimis.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textflow C# client\n\n[![NuGet](https://img.shields.io/nuget/v/TextFlow.svg)](https://www.nuget.org/packages/TextFlow)\n\n## Installation\n`dotnet add package TextFlow`\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```c#\nusing TextFlow;\n\nTextFlowClient client = new TextFlowClient(\"YOUR_API_KEY\");\nclient.SendSMS(\"+381611231234\", \"Dummy message text...\");\n```\n\n### Handle send message request result\n\n```c#\nvar res = await client.SendSMS(\"+381611231234\", \"Dummy message text...\");\nif (res.Ok)\n    Console.WriteLine(res.Data.Timestamp);\nelse\n    Console.WriteLine(res.Message);\n```\n\n### Example properties of the successfully sent message result\n\n`result` is an instance of `TextFlowSendMessageResult` class.\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        \"CountryCode\": \"RS\",\n        \"Price\": 0.05,\n        \"Timestamp\": 1674759108881\n    }\n}\n```\n\n### Example properties of the unsuccessfully sent message result\n\n`result` is an instance of `TextFlowSendMessageResult` class.\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```c#\n//User has sent his phone number for verification\nvar resultSMS = await client.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\nvar resultCode = await client.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-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskocimis%2Ftextflow-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskocimis%2Ftextflow-csharp/lists"}