ETL: sync PEC validation results into a CRM via webhook
まだ誰も着手していません。
評価
調査の方向性
Start by reading the SDK's API client and response handling entry points; the issue does not name files or tests. Decide whether the SDK should expose a structured response, processing hooks, and dry-run support, and whether a pipeline runner belongs in scope. Done requires settling these open design questions and defining the integration behavior.
索引モデルが issue の本文から書いたものです。
説明
Context
Several teams run nightly jobs that validate PEC addresses and push the results into their CRM (HubSpot, Salesforce, custom). The current SDK makes the API call straightforward but the surrounding ETL glue is always written from scratch.
Typical integration code
$client = new Client($token);
foreach ($contacts as $contact) {
$raw = $client->get('https://pec.openapi.com/check', [
'pec' => $contact['email']
]);
$result = json_decode($raw, true);
if ($result['valid'] === true) {
$crm->updateContact($contact['id'], ['pec_verified' => true]);
}
}
What's missing
- No structured response object — consumers always
json_decodemanually. - No event/hook to plug into after each item is processed.
- No dry-run mode for testing the pipeline without hitting the API.
Open questions
- Would a response DTO or a
ResponseInterfacebe welcome, or is raw JSON preferred to keep the SDK agnostic? - Should the SDK ship with a
PipelineRunnerhelper, or is that out of scope?
- 主要言語
- PHP
- スター
- 20
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openapi/openapi-php-sdk のほかの issue
-
Improve PHPDoc Consistency Across the Codebase再び着手できるかも @Seraphim200001 が 140 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
openapi/openapi-php-sdk#36 · コメント 3 件 ·
-
enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
openapi/openapi-php-sdk#34 ·
-
good first issue question
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
openapi/openapi-php-sdk#33 · コメント 2 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
openapi/openapi-php-sdk#32 ·
-
help wanted question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
openapi/openapi-php-sdk#31 ·
openapi/openapi-php-sdk の issue をすべて見る
似ている issue
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
backend gamification P0
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
semanadeinformatica/website#461 ·
-
HttpRequestTrait fatals on WordPress 7.2: $blocked_http_requests clashes with WP_UnitTestCase_Baseオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100