connpass_api_v2 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/README.md +15 -0
- data/lib/connpass_api_v2/client/event_methods.rb +1 -0
- data/lib/connpass_api_v2/client/group_methods.rb +1 -0
- data/lib/connpass_api_v2/client/user_methods.rb +1 -0
- data/lib/connpass_api_v2/client.rb +1 -0
- data/lib/connpass_api_v2/response.rb +15 -0
- data/lib/connpass_api_v2/version.rb +1 -1
- data/rbs_collection.lock.yaml +17 -13
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cad8e3d7e39f697f733f936793b7cf5733f3631363b578d804f283ef24bb93f
|
|
4
|
+
data.tar.gz: d46f6ac8ea4c02b52ed9f5ae3e59b127b941aba395f3bfa914a114b4183da98e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f01c0b511000e30242e00749150eb37c91c19383bfcc73ea30afeb369485fa7aaa38f0a214d6479154dffd5973ed585e101faba9a27acccba038268fd24c891
|
|
7
|
+
data.tar.gz: 93467eedef482ab6a6d033e793610827fc577847f5cfaeef584056ce0aab2028534ee52fb32fe1cc69062a90da0e68d96540e4a3c9e5b04dd3869e66c10ee5b5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
|
+
[full changelog](http://github.com/sue445/connpass_api_v2-ruby/compare/v0.1.1...main)
|
|
2
3
|
|
|
3
|
-
## [
|
|
4
|
+
## [v0.1.1](https://github.com/sue445/connpass_api_v2-ruby/releases/tag/v0.1.1) - 2025-11-29
|
|
5
|
+
[full changelog](http://github.com/sue445/connpass_api_v2-ruby/compare/v0.1.0...v0.1.1)
|
|
6
|
+
|
|
7
|
+
* Release gem from GitHub Actions
|
|
8
|
+
* https://github.com/sue445/connpass_api_v2-ruby/pull/33
|
|
9
|
+
|
|
10
|
+
## [v0.1.0](https://github.com/sue445/connpass_api_v2-ruby/releases/tag/v0.1.0) - 2025-04-05
|
|
4
11
|
|
|
5
12
|
- Initial release
|
data/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# ConnpassApiV2
|
|
2
2
|
[connpass API v2](https://connpass.com/about/api/v2/) client for Ruby
|
|
3
3
|
|
|
4
|
+
[](https://badge.fury.io/rb/connpass_api_v2)
|
|
4
5
|
[](https://github.com/sue445/connpass_api_v2-ruby/actions/workflows/test.yml)
|
|
5
6
|
|
|
7
|
+
## Requirements
|
|
8
|
+
* [connpass API key](https://connpass.com/about/api/v2/#section/%E6%A6%82%E8%A6%81/%E8%AA%8D%E8%A8%BC)
|
|
9
|
+
|
|
6
10
|
## Installation
|
|
7
11
|
|
|
8
12
|
Install the gem and add to the application's Gemfile by executing:
|
|
@@ -24,6 +28,17 @@ require "connpass_api_v2"
|
|
|
24
28
|
client = ConnpassApiV2.client(ENV["CONNPASS_API_KEY"])
|
|
25
29
|
|
|
26
30
|
client.get_events
|
|
31
|
+
|
|
32
|
+
res = client.get_events(nickname: "sue445", count: 100)
|
|
33
|
+
|
|
34
|
+
res.events.count
|
|
35
|
+
#=> 100
|
|
36
|
+
|
|
37
|
+
res.events[0].title
|
|
38
|
+
#=> "STORES.rb RubyKaigi 2025 直前スペシャル"
|
|
39
|
+
|
|
40
|
+
res.events[0].url
|
|
41
|
+
#=> "https://hey.connpass.com/event/347445/"
|
|
27
42
|
```
|
|
28
43
|
|
|
29
44
|
All methods are followings
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# @!parse
|
|
4
|
+
# module Hashie
|
|
5
|
+
# # @see https://www.rubydoc.info/gems/hashie/Hashie/Hash
|
|
6
|
+
# class Hash < ::Hash
|
|
7
|
+
# end
|
|
8
|
+
#
|
|
9
|
+
# # @see https://www.rubydoc.info/gems/hashie/Hashie/Mash
|
|
10
|
+
# class Mash < Hash
|
|
11
|
+
# end
|
|
12
|
+
# end
|
|
13
|
+
|
|
3
14
|
module ConnpassApiV2
|
|
15
|
+
# connpass API response
|
|
16
|
+
#
|
|
17
|
+
# @see https://www.rubydoc.info/gems/hashie/Hashie/Hash
|
|
18
|
+
# @see https://www.rubydoc.info/gems/hashie/Hashie/Mash
|
|
4
19
|
class Response < Hashie::Mash
|
|
5
20
|
disable_warnings # steep:ignore
|
|
6
21
|
end
|
data/rbs_collection.lock.yaml
CHANGED
|
@@ -6,7 +6,7 @@ gems:
|
|
|
6
6
|
source:
|
|
7
7
|
type: git
|
|
8
8
|
name: ruby/gem_rbs_collection
|
|
9
|
-
revision:
|
|
9
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
10
10
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
11
11
|
repo_dir: gems
|
|
12
12
|
- name: ast
|
|
@@ -14,7 +14,7 @@ gems:
|
|
|
14
14
|
source:
|
|
15
15
|
type: git
|
|
16
16
|
name: ruby/gem_rbs_collection
|
|
17
|
-
revision:
|
|
17
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
18
18
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
19
19
|
repo_dir: gems
|
|
20
20
|
- name: bigdecimal
|
|
@@ -22,7 +22,7 @@ gems:
|
|
|
22
22
|
source:
|
|
23
23
|
type: git
|
|
24
24
|
name: ruby/gem_rbs_collection
|
|
25
|
-
revision:
|
|
25
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
26
26
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
27
27
|
repo_dir: gems
|
|
28
28
|
- name: binding_of_caller
|
|
@@ -30,7 +30,7 @@ gems:
|
|
|
30
30
|
source:
|
|
31
31
|
type: git
|
|
32
32
|
name: ruby/gem_rbs_collection
|
|
33
|
-
revision:
|
|
33
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
34
34
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
35
35
|
repo_dir: gems
|
|
36
36
|
- name: date
|
|
@@ -42,7 +42,7 @@ gems:
|
|
|
42
42
|
source:
|
|
43
43
|
type: git
|
|
44
44
|
name: ruby/gem_rbs_collection
|
|
45
|
-
revision:
|
|
45
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
46
46
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
47
47
|
repo_dir: gems
|
|
48
48
|
- name: faraday
|
|
@@ -50,7 +50,7 @@ gems:
|
|
|
50
50
|
source:
|
|
51
51
|
type: git
|
|
52
52
|
name: ruby/gem_rbs_collection
|
|
53
|
-
revision:
|
|
53
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
54
54
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
55
55
|
repo_dir: gems
|
|
56
56
|
- name: fileutils
|
|
@@ -66,7 +66,7 @@ gems:
|
|
|
66
66
|
source:
|
|
67
67
|
type: git
|
|
68
68
|
name: ruby/gem_rbs_collection
|
|
69
|
-
revision:
|
|
69
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
70
70
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
71
71
|
repo_dir: gems
|
|
72
72
|
- name: hashie
|
|
@@ -74,7 +74,7 @@ gems:
|
|
|
74
74
|
source:
|
|
75
75
|
type: git
|
|
76
76
|
name: ruby/gem_rbs_collection
|
|
77
|
-
revision:
|
|
77
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
78
78
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
79
79
|
repo_dir: gems
|
|
80
80
|
- name: json
|
|
@@ -102,23 +102,27 @@ gems:
|
|
|
102
102
|
source:
|
|
103
103
|
type: git
|
|
104
104
|
name: ruby/gem_rbs_collection
|
|
105
|
-
revision:
|
|
105
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
106
106
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
107
107
|
repo_dir: gems
|
|
108
|
+
- name: prism
|
|
109
|
+
version: 1.6.0
|
|
110
|
+
source:
|
|
111
|
+
type: rubygems
|
|
108
112
|
- name: rake
|
|
109
113
|
version: '13.0'
|
|
110
114
|
source:
|
|
111
115
|
type: git
|
|
112
116
|
name: ruby/gem_rbs_collection
|
|
113
|
-
revision:
|
|
117
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
114
118
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
115
119
|
repo_dir: gems
|
|
116
120
|
- name: rspec-parameterized-core
|
|
117
|
-
version:
|
|
121
|
+
version: 2.0.0
|
|
118
122
|
source:
|
|
119
123
|
type: rubygems
|
|
120
124
|
- name: rspec-parameterized-table_syntax
|
|
121
|
-
version:
|
|
125
|
+
version: 2.0.0
|
|
122
126
|
source:
|
|
123
127
|
type: rubygems
|
|
124
128
|
- name: timeout
|
|
@@ -134,7 +138,7 @@ gems:
|
|
|
134
138
|
source:
|
|
135
139
|
type: git
|
|
136
140
|
name: ruby/gem_rbs_collection
|
|
137
|
-
revision:
|
|
141
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
138
142
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
139
143
|
repo_dir: gems
|
|
140
144
|
gemfile_lock_path: Gemfile.lock
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: connpass_api_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: faraday
|
|
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
216
216
|
- !ruby/object:Gem::Version
|
|
217
217
|
version: '0'
|
|
218
218
|
requirements: []
|
|
219
|
-
rubygems_version: 3.6.
|
|
219
|
+
rubygems_version: 3.6.7
|
|
220
220
|
specification_version: 4
|
|
221
221
|
summary: connpass API v2 client for Ruby
|
|
222
222
|
test_files: []
|