{"id":22733207,"url":"https://github.com/fantasywind/hinet_sms","last_synced_at":"2025-03-30T01:45:10.330Z","repository":{"id":28512504,"uuid":"32029107","full_name":"fantasywind/Hinet_SMS","owner":"fantasywind","description":"Hinet telecom from Taiwan, sms api module.","archived":false,"fork":false,"pushed_at":"2015-03-12T08:22:49.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T06:56:20.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/fantasywind.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}},"created_at":"2015-03-11T16:42:13.000Z","updated_at":"2015-03-17T06:15:25.000Z","dependencies_parsed_at":"2022-09-06T20:41:05.889Z","dependency_job_id":null,"html_url":"https://github.com/fantasywind/Hinet_SMS","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasywind%2FHinet_SMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasywind%2FHinet_SMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasywind%2FHinet_SMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasywind%2FHinet_SMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fantasywind","download_url":"https://codeload.github.com/fantasywind/Hinet_SMS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266250,"owners_count":20749754,"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-10T20:13:16.717Z","updated_at":"2025-03-30T01:45:10.305Z","avatar_url":"https://github.com/fantasywind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hinet_SMS\nHinet telecom from Taiwan, sms api module.\n\n## Install\n\tnpm install hinet_sms\n\n## Example\n\n```\nvar sms = new SMS({\n  account: 'HN_NUMBERS',\n  password: 'SMS_PASSWORD'\n});\n\nsms.on('logined', function () {\n  sms.send('0912333333', 'Test Message');\n});\n\nsms.connect(function () {\n  sms.auth();\n});\n```\n\n## Methods\nThe module defines the following functions:\n\n### connect(callback)\nConnect socket\n\n### auth()\nGet auth to CHT Server\n\n### send(targetNumber, message)\nSend a message to target number immediately.\n\n## Events\n\n* logined: when auth successful\n* login_failed: auth failed\n* sent: the message sent\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasywind%2Fhinet_sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffantasywind%2Fhinet_sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasywind%2Fhinet_sms/lists"}