ETL: sync PEC validation results into a CRM via webhook
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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?
- Vorherrschende Sprache
- PHP
- Sterne
- 20
- Forks
- 3
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus openapi/openapi-php-sdk
-
Improve PHPDoc Consistency Across the CodebaseEvtl. wieder frei @Seraphim200001 hat das vor 140 Tagen übernommen, und es ist kein Pull Request offen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
openapi/openapi-php-sdk#36 · 3 Kommentare ·
-
enhancement help wanted
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
openapi/openapi-php-sdk#34 ·
-
good first issue question
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
openapi/openapi-php-sdk#33 · 2 Kommentare ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
openapi/openapi-php-sdk#32 ·
-
help wanted question
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
openapi/openapi-php-sdk#31 ·
Alle Issues in openapi/openapi-php-sdk
Ähnliche Issues
-
HttpRequestTrait fatals on WordPress 7.2: $blocked_http_requests clashes with WP_UnitTestCase_BaseOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
pluginsGLPI/addressing#127 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
WordPress/create-block-theme#886 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
humanmade/hm-popup-block#18 ·