{"id":17966203,"url":"https://github.com/ebdsms/ebdsms","last_synced_at":"2026-04-10T21:05:05.346Z","repository":{"id":258904049,"uuid":"875916887","full_name":"ebdsms/eBDSMS","owner":"ebdsms","description":"You can send messages from any app using this small library. Like e-commerce app, message app, tools app and any app of your choice.","archived":false,"fork":false,"pushed_at":"2024-12-19T10:16:55.000Z","size":173,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T08:42:22.731Z","etag":null,"topics":["android-app","android-library","android-studio","flutter","flutter-apps","free","free-sms-api","free-sms-bangloadesh","free-sms-receive","free-sms-sender","message","sms","sms-api","sms-gateway","sms-messages"],"latest_commit_sha":null,"homepage":"https://ebdsms.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebdsms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-10-21T05:05:44.000Z","updated_at":"2024-12-19T10:16:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"3792e2c0-c271-46e3-b011-8a7eaf6c13f5","html_url":"https://github.com/ebdsms/eBDSMS","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"4e6ee429a9db1044ecb43694e105e05f87cd80d0"},"previous_names":["ebdsms/ebdsms"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebdsms%2FeBDSMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebdsms%2FeBDSMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebdsms%2FeBDSMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebdsms%2FeBDSMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebdsms","download_url":"https://codeload.github.com/ebdsms/eBDSMS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247078756,"owners_count":20879948,"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":["android-app","android-library","android-studio","flutter","flutter-apps","free","free-sms-api","free-sms-bangloadesh","free-sms-receive","free-sms-sender","message","sms","sms-api","sms-gateway","sms-messages"],"created_at":"2024-10-29T13:08:17.878Z","updated_at":"2026-04-10T21:05:05.301Z","avatar_url":"https://github.com/ebdsms.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eBDSMS SDK Integration for Android\nThis document provides instructions for integrating the eBDSMS Android SDK into your project. \n\n# Getting Started\n\u003e \nHow to use ?\n\nTo get a Git project into your build:\n\nStep 1. Add the JitPack repository to your build file \n\n``` build.gradle\n\ndependencyResolutionManagement {\n\t\trepositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n\t\trepositories {\n\t\t\tmavenCentral()\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n ```\n\u003e Step 2. Add the dependency to your `build.gradle`:\n``` gradle\ndependencies {\n\t        implementation 'com.github.ebdsms:eBDSMS:2.0.5'\n\t}\n```\n\n# Constants for SMS Send String\nAdd the following code inside your `Activity`:\n``` gradle\n     String API_KEY = \"YOUR_API_KEY\";\n     String DEVICE_NUMBER = \"DEVICE_NUMBER\";\n     String NUMBER = \"TYPE_YOUR_SENDER_NUMBER\";\n     String MESSAGE = \"TYPE_YOUR_MESSAGE\";\n```\n# Send OTP Process\nNote: Use this code send otp:\n``` gradle\n// If you want to send OTP then use this 2 line code, or skip this 2 line code.\n eBDSMS.OTP otp = new eBDSMS.OTP();\n String otpString = otp.OTPString(6); // Enter the value of the number you want to send OTP like 4,6\n System.out.println(otpString);\n```\n\n# SMS Send Process\nNote: Use this code when the sms send button is clicked:\nIf you are not sending OTP then please ignore the OTP code and remove #otpString and do not use +88 before the number as the country code. Start the number like this 017,019,015,018,016.\n``` gradle\n eBDSMS ebdsms = new eBDSMS(API_KEY,NUMBER,MESSAGE+\" \"+otpString, DEVICE_NUMBER, \"\",\"\",getApplicationContext());\n ebdsms.sendSms();\n```\n\n# eBDSMS SDK Integration for Flutter\nThis document provides instructions for integrating the eBDSMS Flutter project. \n\n# Getting Started\n\u003e \nHow to use ?\n# yaml\n``` gradle\n  dependencies:\n  flutter:\n  sdk: flutter\n  http: ^0.14.0  # Make sure to use the latest version\n```\n# Implement the eBDSMS class in Flutter:\nCreate eBDSMS Class. \n``` gradle\n  import 'dart:math';\nimport 'package:http/http.dart' as http;\n\nclass eBDSMS {\n  String apiKey;\n  String number;\n  String message;\n  String device;\n  String extra;\n  String others;\n\n  eBDSMS({\n    required this.apiKey,\n    required this.number,\n    required this.message,\n    required this.device,\n    required this.extra,\n    required this.others,\n  });\n\n  Future\u003cString\u003e sendSms() async {\n    try {\n      String baseUrl = \"https://client.ebdsms.com/services/send.php\";\n      Uri url = Uri.parse(\n          \"$baseUrl?key=$apiKey\u0026number=$number\u0026message=$message\u0026devices=$device\u0026type=sms\u0026prioritize=0\");\n\n      final response = await http.get(url);\n      if (response.statusCode == 200) {\n        return response.body;\n      } else {\n        return 'Error: ${response.statusCode}';\n      }\n    } catch (e) {\n      print(e);\n      return 'Error: $e';\n    }\n  }\n}\n\nclass OTP {\n  final String letters = \"0987654321\";\n  final String numbers = \"1234567890\";\n  late List\u003cString\u003e randomChars;\n\n  OTP() {\n    randomChars = (letters + letters.toUpperCase() + numbers).split('');\n  }\n\n  String generateOTP(int length) {\n    final random = Random();\n    return List.generate(length, (_) =\u003e randomChars[random.nextInt(randomChars.length)]).join();\n  }\n}\n\nvoid main() async {\n  String apiKey = \"YOUR_API_KEY\";\n  String deviceNumber = \"DEVICE_NUMBER\";\n  String number = \"SEND_NUMBER\";\n  String message = \"MESSAGE\";\n\n  // Generate OTP\n  OTP otp = OTP();\n  String otpString = otp.generateOTP(6);\n  print(\"Generated OTP: $otpString\");\n\n  // Create eBDSMS instance with the message + OTP\n  eBDSMS sms = eBDSMS(\n    apiKey: apiKey,\n    number: number,\n    message: \"$message $otpString\",\n    device: deviceNumber,\n    extra: '',\n    others: '',\n  );\n\n  // Send SMS\n  String response = await sms.sendSms();\n  print(\"SMS Response: $response\");\n}\n\n```\n# How to use:\n\u003e \ndart\n``` gradle\n void main() {\n  EBDSMS sms = EBDSMS(\n    apiKey: 'your_api_key',\n    number: 'recipient_number',\n    message: 'Hello, this is your message!',\n    otp: '1234',\n    device: 'device_id',\n    extra: 'extra_info',\n  );\n\n  sms.sendSms();\n}\n\n```\n\n\n\n# Contact With Us\nIf you face any problem using this library then feel free to contact me.\nTo contact me message me on Facebook or email me at:\n\n`Email`: info@ebdsms.com\n\n`Facebook`: \u003ca href=\"https://www.facebook.com/M220719\" rel=\"nofollow\"\u003eShohag Hossain\u003c/a\u003e \n\n# Authors\n\u003ca href=\"https://www.ebdsms.com\" rel=\"nofollow\"\u003eeBDSMS.com\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febdsms%2Febdsms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febdsms%2Febdsms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febdsms%2Febdsms/lists"}