ETL: sync PEC validation results into a CRM via webhook
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- PHP
- Star
- 20
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openapi/openapi-php-sdk
-
Improve PHPDoc Consistency Across the CodebaseCó thể làm lại được @Seraphim200001 đã nhận 140 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
openapi/openapi-php-sdk#36 · 3 bình luận ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
openapi/openapi-php-sdk#34 ·
-
good first issue question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
openapi/openapi-php-sdk#33 · 2 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
openapi/openapi-php-sdk#32 ·
-
help wanted question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
openapi/openapi-php-sdk#31 ·
Tất cả issue của openapi/openapi-php-sdk
Issue tương tự
-
sync-en
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Перевод устарел
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
-
feature request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
home php
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
vincent-peugnet/wcms#670 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
freescout-help-desk/freescout#5731 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày