{"id":23047392,"url":"https://github.com/moceanapi/mocean-grails-sms","last_synced_at":"2025-06-30T10:04:35.958Z","repository":{"id":65507760,"uuid":"256435123","full_name":"MoceanAPI/mocean-grails-sms","owner":"MoceanAPI","description":"This plugin serve outbound SMS","archived":false,"fork":false,"pushed_at":"2022-07-26T09:26:40.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-08T11:47:03.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","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/MoceanAPI.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}},"created_at":"2020-04-17T07:38:45.000Z","updated_at":"2022-07-26T09:26:43.000Z","dependencies_parsed_at":"2023-01-26T15:50:12.231Z","dependency_job_id":null,"html_url":"https://github.com/MoceanAPI/mocean-grails-sms","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MoceanAPI/mocean-grails-sms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-grails-sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-grails-sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-grails-sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-grails-sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoceanAPI","download_url":"https://codeload.github.com/MoceanAPI/mocean-grails-sms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-grails-sms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262753012,"owners_count":23358879,"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":[],"created_at":"2024-12-15T22:33:27.853Z","updated_at":"2025-06-30T10:04:35.381Z","avatar_url":"https://github.com/MoceanAPI.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mocean SMS Grails Plugin\n=\n\n\n## Description\nThis plugin provide sending SMS capability to grails framework for user using [MoceanAPI](https://moceanapi.com) service\n\nTry for FREE now. 20 trial SMS credits will be given upon [registration](https://dashboard.moceanapi.com/register?fr=grails). Additional SMS credits can be requested and is subject to approval by MoceanAPI\n\n## Configuration\nAdd your credentials to your application.yml like sample below.\n\n```yaml\nmoceanapi:\n    api_key: YOUR_MOCEAN_API_KEY\n    api_secret: YOUR_MOCEAN_API_SECRET\n\n```\n\nAdd dependencies\n~~~\ndependencies {\n    ...\n    compile \"org.grails.plugins:mocean-grails-sms:0.0.1\"\n}\n~~~\n\n\nAdd repo\n~~~\nrepositories {\n    ...\n\tmaven { url \"http://dl.bintray.com/moceanapi/plugins\" }\n}\n\n~~~\n\n\n## Usage\n\n#### Normal:\nIf you only need send SMS can follow the sample below.\n~~~java\n\nimport com.moceanapi.sms.SmsService\n\nclass Testing {\n\n    def SmsService\n    \n    def index() { \n       \n        def from = \"SENDER_NUMBER\"\n        def to = \"RECEIVER_NUMBER\"\n        def text = \"MESSAGE_BODY\"\n        Map response = SmsService.send(from, to, text)\n    }\n}\n\n~~~\n\n#### Advance:\nIf you wish to have more configuration options to your SMS. Please visit our [API docs](https://moceanapi.com/docs/#send-sms) to find out more parameters \n\n~~~java\n\nimport com.moceanapi.sms.SmsService\n\nclass Testing {\n\n    def SmsService\n    \n    def index() { \n       \n        Map map = [\"mocean-from\": \"SENDER\", \"mocean-to\": \"RECEIVER\", \"mocean-text\": \"MESSAGE_BODY\"]\n        Map response = SmsService.send(map)\n    }\n}\n\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoceanapi%2Fmocean-grails-sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoceanapi%2Fmocean-grails-sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoceanapi%2Fmocean-grails-sms/lists"}