From 9e6329630d829285c8d428ec813a5cdb0c9c0c53 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Sun, 22 Dec 2024 23:39:09 +0100 Subject: [PATCH] align documentation --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 98b2f27..1c50063 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,12 @@ $klicktipp = new \D3\KlicktippPhpClient\Klicktipp( ); ``` -## search a subscriber +## get a subscriber status ```php $subscriberId = $klicktipp->subscriber()->search('me@johndoe.net'); -$subscriber = $klicktipp->subscriber()->search($subscriberId); +$subscriber = $klicktipp->subscriber()->get($subscriberId); +$subscriber->isSubscribed() ``` ## Supported endpoints (still being added) @@ -38,8 +39,10 @@ $subscriber = $klicktipp->subscriber()->search($subscriberId); :x: = Not yet developed
:heavy_exclamation_mark: = deprecated/not supported
-| Endpoint | Status | -|--------------------------------------------------------------------------------------|-------------------------| -| account | :ballot_box_with_check: | -| subscriber | :ballot_box_with_check: | -| tag | :ballot_box_with_check: | +| Endpoint | Status | +|--------------|-------------------------| +| account | :ballot_box_with_check: | +| field | :ballot_box_with_check: | +| subscriber | :ballot_box_with_check: | +| subscription | :ballot_box_with_check: | +| tag | :ballot_box_with_check: |