{"id":16304868,"url":"https://github.com/moznion/webservice-imkayac-simple","last_synced_at":"2025-04-12T13:44:40.557Z","repository":{"id":13881380,"uuid":"16579469","full_name":"moznion/WebService-ImKayac-Simple","owner":"moznion","description":"Simple message sender for im.kayac (http://im.kayac.com/)","archived":false,"fork":false,"pushed_at":"2014-03-23T06:29:29.000Z","size":188,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-16T02:19:59.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://metacpan.org/release/WebService-ImKayac-Simple","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moznion.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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":"2014-02-06T13:04:52.000Z","updated_at":"2014-09-09T15:40:34.000Z","dependencies_parsed_at":"2022-08-24T11:30:20.351Z","dependency_job_id":null,"html_url":"https://github.com/moznion/WebService-ImKayac-Simple","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2FWebService-ImKayac-Simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2FWebService-ImKayac-Simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2FWebService-ImKayac-Simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2FWebService-ImKayac-Simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moznion","download_url":"https://codeload.github.com/moznion/WebService-ImKayac-Simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248574847,"owners_count":21127076,"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-10-10T21:05:01.572Z","updated_at":"2025-04-12T13:44:40.536Z","avatar_url":"https://github.com/moznion.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/moznion/WebService-ImKayac-Simple.png?branch=master)](https://travis-ci.org/moznion/WebService-ImKayac-Simple)\n# NAME\n\nWebService::ImKayac::Simple - Simple message sender for im.kayac\n\n# SYNOPSIS\n\n    use WebService::ImKayac::Simple;\n\n    my $im = WebService::ImKayac::Simple-\u003enew(\n        type     =\u003e 'password',\n        user     =\u003e '__USER_NAME__',\n        password =\u003e '__PASSWORD__',\n    );\n\n    $im-\u003esend('Hello!');\n    $im-\u003esend('Hello!', 'mailto:example@example.com'); # you can append handler to the message\n\n# DESCRIPTION\n\nWebService::ImKayac::Simple is the simple message sender for im.kayac ([http://im.kayac.com/](http://im.kayac.com/)).\n\n# METHODS\n\n- WebService::ImKayac::Simple-\u003enew()\n\n    Constructor. You can specify `user`, `password` and `type` through this method.\n\n    Essential arguments are changed according to the `type`. `type` allows only\n    \"password\", \"secret\" or empty. Please refer to the following for details of each type.\n\n    With no authentication:\n\n        my $im = WebService::ImKayac::Simple-\u003enew(\n            user =\u003e '__USER_NAME__',\n        );\n\n    With password authentication:\n\n        my $im = WebService::ImKayac::Simple-\u003enew(\n            type     =\u003e 'password',\n            user     =\u003e '__USER_NAME__',\n            password =\u003e '__PASSWORD__',\n        );\n\n    With secret key authentication:\n\n        my $im = WebService::ImKayac::Simple-\u003enew(\n            type     =\u003e 'secret',\n            user     =\u003e '__USER_NAME__',\n            password =\u003e '__SECRET_KEY__',\n        );\n\n    Also you can configure by YAML file:\n\n        my $im = WebService::ImKayac::Simple-\u003enew('path/to/config.yml');\n\n    Sample of YAML config file:\n\n        user: foo\n        password: bar\n        type: __TYPE__\n\n- $im-\u003esend($message, $handler)\n\n    Send message.\n\n    `$message` is required. It must be utf-8 string or perl string.\n\n    `$handler` is optional. Please refer [http://im.kayac.com/#docs](http://im.kayac.com/#docs) if you want to get details.\n\n# FOR DEVELOPERS\n\nTests which are calling web API directly in `xt/webapi`. If you want to run these tests, please execute like so;\n\n    $ IM_KAYAC_NONE_USER=__USER_NAME__ prove xt/webapi/00_none.t\n\n# SEE ALSO\n\n[AnyEvent::WebService::ImKayac](https://metacpan.org/pod/AnyEvent::WebService::ImKayac)\n\n# LICENSE\n\nCopyright (C) moznion.\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n\n# AUTHOR\n\nmoznion \u003cmoznion@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoznion%2Fwebservice-imkayac-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoznion%2Fwebservice-imkayac-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoznion%2Fwebservice-imkayac-simple/lists"}