{"id":23047413,"url":"https://github.com/moceanapi/mocean-sdk-python","last_synced_at":"2025-08-15T00:34:01.460Z","repository":{"id":32654443,"uuid":"138827478","full_name":"MoceanAPI/mocean-sdk-python","owner":"MoceanAPI","description":"✉📲 SDK Library for Python to send SMS for FREE using MoceanAPI sms solution.","archived":false,"fork":false,"pushed_at":"2024-12-18T05:57:05.000Z","size":187,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T12:07:31.912Z","etag":null,"topics":["moceanapi","python","sms","sms-api","sms-client","sms-messages"],"latest_commit_sha":null,"homepage":"https://moceanapi.com/","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/MoceanAPI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-06-27T03:56:36.000Z","updated_at":"2024-12-18T05:57:08.000Z","dependencies_parsed_at":"2025-06-03T03:50:06.014Z","dependency_job_id":null,"html_url":"https://github.com/MoceanAPI/mocean-sdk-python","commit_stats":{"total_commits":92,"total_committers":7,"mean_commits":"13.142857142857142","dds":0.4782608695652174,"last_synced_commit":"d5d73052d229ba590bc3736ec85bc55bb3384141"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/MoceanAPI/mocean-sdk-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-sdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-sdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-sdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-sdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoceanAPI","download_url":"https://codeload.github.com/MoceanAPI/mocean-sdk-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fmocean-sdk-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270505630,"owners_count":24596501,"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-14T02:00:10.309Z","response_time":75,"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":["moceanapi","python","sms","sms-api","sms-client","sms-messages"],"created_at":"2024-12-15T22:33:30.191Z","updated_at":"2025-08-15T00:34:01.158Z","avatar_url":"https://github.com/MoceanAPI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"MoceanAPI Client Library for Python \n============================\n[![Latest Stable Version](https://img.shields.io/pypi/v/moceansdk.svg)](https://pypi.org/project/moceansdk/)\n[![Github Build Status](https://github.com/MoceanAPI/mocean-sdk-python/actions/workflows/build.yml/badge.svg)](https://github.com/MoceanAPI/mocean-sdk-python/actions/workflows/build.yml)\n[![codecov](https://codecov.io/gh/MoceanAPI/mocean-sdk-python/graph/badge.svg?token=hsFyo7PmaT)](https://codecov.io/gh/MoceanAPI/mocean-sdk-python)\n[![codacy](https://img.shields.io/codacy/grade/7ec97a7559f146928875fdaf28e1882e.svg)](https://app.codacy.com/project/MoceanAPI/mocean-sdk-python/dashboard)\n[![license](https://img.shields.io/pypi/l/moceansdk.svg)](https://pypi.org/project/moceansdk/)\n\nThis is the Python client library for use Mocean's API. To use this, you'll need a Mocean account. Sign up [for free at \nmoceanapi.com][signup].\n\n * [Installation](#installation)\n * [Usage](#usage)\n * [Examples](#examples)\n\n## Installation\n\nTo use the client library you'll need to have [created a Mocean account][signup]. \n\nInstall from PyPi using pip, a package manager for Python.\n\n```bash\npip install moceansdk\n```\n\n## Usage\n\nCreate a client with your API key and secret:\n\n```python\nfrom moceansdk import Client, Basic\n\ncredential = Basic(\"API_KEY_HERE\", \"API_SECRET_HERE\")\nmocean = Client(credential)\n```\n\n## Example\n\nTo use [Mocean's SMS API][doc_sms] to send an SMS message, call the `mocean.sms.send()` method.\n\nThe API can be called directly, using a simple array of parameters, the keys match the [parameters of the API][doc_sms].\n\n```python\nres = mocean.sms.send({\n    \"mocean-from\": \"MOCEAN\",\n    \"mocean-to\": 60123456789,\n    \"mocean-text\": \"Hello World\"\n})\n\nprint(res)\n```\n\n### Responses\n\nFor your convenient, the API response has been parsed to `dict` using [dotmap](https://github.com/drgrib/dotmap) package.\n\n```python\nprint(res)           # show full response string\nprint(res.status)    # show response status, '0' in this case\nprint(res['status']) # same as above\n\n```\n\n## Documentation\n\nKindly visit [MoceanApi Docs][doc_main] for more usage\n\nLicense\n-------\n\nThis library is released under the [MIT License][license]\n\n[signup]: https://dashboard.moceanapi.com/register?medium=github\u0026campaign=python-sdk\n[doc_main]: https://moceanapi.com/docs/?python\n[doc_sms]: https://moceanapi.com/docs/?python#send-sms\n[license]: LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoceanapi%2Fmocean-sdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoceanapi%2Fmocean-sdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoceanapi%2Fmocean-sdk-python/lists"}