crystal-connpass v0.4.0
Connpass
A Crystal wrapper for the Connpass API inspired by Ruby's implementation.
Installation
Add it to shard.yml
dependencies:
connpass:
github: pine/connpass
branch: master
Usage
See example example/event_search.cr
and Official API reference.
require "connpass"
res = Connpass.event_search({ "keyword" => "Crystal" })
res.events.each{|e| puts e.title }
How to run example
First, you should install Crystal compiler, using a tool such as crenv.
$ git clone https://github.com/pine/crystal-connpass.git
$ cd ./crystal-connpass
$ crystal deps
$ crystal run ./example/event_search.cr
Keyword> Ruby
All Ruby 10 events found.
1: Hacker Tackle
福岡のあらゆるエンジニアためのコミュニティイベント
会場: 福岡県Ruby コンテンツ産業振興センター
日時: 2015-09-26T12:50:00+09:00
2: Sensu Deep Talks #2
会場: ニフティ株式会社 セミナールームB
日時: 2015-10-02T18:30:00+09:00
3: 第12回 ベイサイドRuby on Rails勉強会@マスマス
初心者も経験者ももくもくしながら情報交換する会
会場: mass x mass
日時: 2015-09-29T19:00:00+09:00
...
Contributing
- Fork it ( https://github.com/pine/crystal-connpass/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Acknowledgement
Thank you.
License
MIT License
Repository
crystal-connpass
Owner
Statistic
- 1
- 1
- 0
- 0
- 1
- over 8 years ago
- August 29, 2015
License
MIT License
Links
Synced at
Wed, 06 Nov 2024 22:26:11 GMT
Languages