Skip to content

ISSHA-3802 update connpass api v2#10

Merged
takanory merged 7 commits intomasterfrom
ISSHA-3802-connpass-api-v2
Nov 30, 2025
Merged

ISSHA-3802 update connpass api v2#10
takanory merged 7 commits intomasterfrom
ISSHA-3802-connpass-api-v2

Conversation

@takanory
Copy link
Copy Markdown
Member

@takanory
Copy link
Copy Markdown
Member Author

対応して手元ではconnpass APIでデータが取得できた

Comment thread update_calendar.py
from pytz import timezone

from google_api import get_calendar_service
from settings import CONNPASS_API_KEY
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APIキーを取得

Comment thread update_calendar.py
logger = logging.getLogger(BASENAME)

# connpassのグループID
SUBDOMAINS = ["pyconjp", "pyconjp-staff"]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

複数のグループを一度に指定できるので、変更した

Comment thread update_calendar.py
breakpoint()

r = requests.get(
"https://connpass.com/api/v2/events/", params=params, headers=headers
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

connpass API v2を使用

Comment thread update_calendar.py
r = requests.get(
"https://connpass.com/api/v2/events/", params=params, headers=headers
)
# イベント情報を取得
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

以下はネストが1段低くなっただけ

@koedoyoshida
Copy link
Copy Markdown

使用するAPIの変更、APIキーの変更とそれが暗号化されていることを確認しました。マージして問題ない認識です。

@takanory takanory merged commit 40ad5cc into master Nov 30, 2025
1 check failed
@takanory takanory deleted the ISSHA-3802-connpass-api-v2 branch November 30, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants