Skip to content

[WIP] Upgrade connpass API: v1 -> v2 #1699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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