Skip to content

Conversation

yasulab
Copy link
Member

@yasulab yasulab commented May 27, 2025

以下 #1679 から一部引用

Image

https://connpass.com/about/api/v2/

💎 connpass_api_v2 gem Usage

$ rails console

Loading development environment (Rails 8.0.2)

coderdojo-jp(dev)> require "connpass_api_v2"
coderdojo-jp(dev)> client = ConnpassApiV2.client(ENV["CONNPASS_API_KEY"])
coderdojo-jp(dev)> client.get_events(nickname: "yasulab", count: 10).events[0].title
=> "CoderDojo 青山#1"
image

cf. connpass API v2に対応したAPIクライアントgemを作った - くりにっき

@yasulab yasulab added 急ぎじゃないよ Make something better but not rushed. 統計情報 Tracking event record function via APIs: https://coderdojo.jp/stats ruby Pull requests that update ruby code labels May 27, 2025
@yasulab yasulab force-pushed the update-connpass-api-from-v1-to-v2 branch from af633c6 to dc94665 Compare May 29, 2025 03:59
@yasulab yasulab changed the title [WIP] Upgrade connpass API: v1 -> v2 Upgrade connpass API: v1 -> v2 Jun 6, 2025
@yasulab yasulab merged commit 55a9141 into main Jun 6, 2025
2 checks passed
@yasulab yasulab deleted the update-connpass-api-from-v1-to-v2 branch June 6, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ruby Pull requests that update ruby code 急ぎじゃないよ Make something better but not rushed. 統計情報 Tracking event record function via APIs: https://coderdojo.jp/stats

Projects

None yet

Development

Successfully merging this pull request may close these issues.

connpass API を v1 から v2 に移行する

1 participant