{"id":25875664,"url":"https://github.com/lenage/emay_soap","last_synced_at":"2026-06-08T11:32:33.629Z","repository":{"id":25565344,"uuid":"28998658","full_name":"lenage/emay_soap","owner":"lenage","description":"Emay Ruby API Wrapper http://www.emay.cn/","archived":false,"fork":false,"pushed_at":"2015-01-09T08:49:06.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-13T21:08:20.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/lenage.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}},"created_at":"2015-01-09T03:25:18.000Z","updated_at":"2015-01-09T08:45:29.000Z","dependencies_parsed_at":"2022-09-09T04:11:33.338Z","dependency_job_id":null,"html_url":"https://github.com/lenage/emay_soap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lenage/emay_soap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenage%2Femay_soap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenage%2Femay_soap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenage%2Femay_soap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenage%2Femay_soap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lenage","download_url":"https://codeload.github.com/lenage/emay_soap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenage%2Femay_soap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34061122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2025-03-02T10:19:34.299Z","updated_at":"2026-06-08T11:32:33.610Z","avatar_url":"https://github.com/lenage.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmaySoap\n\n![ci](https://travis-ci.org/lenage/emay_soap.svg)\n\nMade easy to use Emay(http://www.emay.cn/) to send sms in Ruby.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'emay_soap'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install emay_soap\n\n## Usage\n\n#### Setup\n```ruby\n# Provide authentication credentials\nEmaySoap.setup do |c|\n  c.cdkey = 'yourcdkey'\n  c.key = 'yourkeywant to use' # max length 15\n  c.password = 'yourpassword'\nend\n\nclient = EmaySoap.client\n```\n\nor\n\n```ruby\n# Provide authentication credentials\nclient = EmaySoap::Client.new(cdkey: 'yourcdkey', key: 'yoursessionkey', password: 'yourpassword')\n```\n\n#### Play with API\n\n```ruby\n# Emay requires you register your CD_KEY before send SMS\nclient.regist_ex\n\n# List all APIs\nclient.operations\n\n# Query Balance\nclient.get_balance\n\n# Query each fee of SMS\nclient.get_each_fee\n\n# Send SMS\nclient.send_sms\n\n# change your session key\nclient.logout\nclient.key = 'yournewkey'\nclient.regist_ex\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/lenage/emay_soap/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenage%2Femay_soap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flenage%2Femay_soap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenage%2Femay_soap/lists"}