https://github.com/yuzurus/line_notify
Ruby Client for the LINE notify API
https://github.com/yuzurus/line_notify
gem line line-notify ruby rubygem
Last synced: 3 months ago
JSON representation
Ruby Client for the LINE notify API
- Host: GitHub
- URL: https://github.com/yuzurus/line_notify
- Owner: YuzuruS
- License: mit
- Created: 2018-02-15T11:59:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T02:34:04.000Z (almost 5 years ago)
- Last Synced: 2025-04-11T04:43:00.157Z (3 months ago)
- Topics: gem, line, line-notify, ruby, rubygem
- Language: Ruby
- Homepage:
- Size: 22.5 KB
- Stars: 10
- Watchers: 0
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# LineNotify
[](http://badge.fury.io/rb/line_notify)
[](https://travis-ci.org/YuzuruS/line_notify)
[](https://codeclimate.com/github/YuzuruS/line_notify/maintainability)
[](https://coveralls.io/github/YuzuruS/line_notify?branch=master)
[](https://beta.gemnasium.com/projects/github.com/YuzuruS/line_notify)Ruby Client for the LINE notify API
https://notify-bot.line.me/ja/
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'line_notify'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install line_notify
## Usage
```ruby
line_notify = LineNotify.new(YOUR_LINE_TOKEN)
options = {message: 'hoge', stickerPackageId: 1, stickerId: 113}
line_notify.ping(options)```

sticker id list
https://devdocs.line.me/files/sticker_list.pdf```ruby
line_notify = LineNotify.new(YOUR_LINE_TOKEN)
options = {
message: '可愛い画像',
imageFullsize: "https://www.pakutaso.com/shared/img/thumb/SAYAPAKU5347_TP_V4.jpg",
imageThumbnail: "https://www.pakutaso.com/shared/img/thumb/SAYAPAKU5347_TP_V.jpg"
}
line_notify.ping(options)
```
detail
https://notify-bot.line.me/doc/ja/## Issue of access token
https://notify-bot.line.me/ja/
---

---

---

---

---
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/YuzuruS/line_notify. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## Code of Conduct
Everyone interacting in the LineNotify project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/YuzuruS/line_notify/blob/master/CODE_OF_CONDUCT.md).