mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 08:19:25 +03:00
Adjusted API key for samples
This commit is contained in:
parent
4406b25d2b
commit
b047529d5f
@ -11,7 +11,7 @@ Here's how to use the "Address" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate an Address object on the Address API endpoint.
|
# Next, instantiate an Address object on the Address API endpoint.
|
||||||
$address = $mgClient->Address();
|
$address = $mgClient->Address();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Bounces" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Bounces object on the Bounces API endpoint.
|
# Next, instantiate a Bounces object on the Bounces API endpoint.
|
||||||
$bounces = $mgClient->Bounces();
|
$bounces = $mgClient->Bounces();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Campaign" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Campaign object on the Campaign API endpoint.
|
# Next, instantiate a Campaign object on the Campaign API endpoint.
|
||||||
$campaigns = $mgClient->Campaigns();
|
$campaigns = $mgClient->Campaigns();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Complaints" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Complaints object on the Complaints API endpoint.
|
# Next, instantiate a Complaints object on the Complaints API endpoint.
|
||||||
$complaints = $mgClient->Complaints();
|
$complaints = $mgClient->Complaints();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Lists" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Lists object on the Lists API endpoint.
|
# Next, instantiate a Lists object on the Lists API endpoint.
|
||||||
$lists = $mgClient->Lists();
|
$lists = $mgClient->Lists();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Logs" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Logs object on the Logs API endpoint.
|
# Next, instantiate a Logs object on the Logs API endpoint.
|
||||||
$logs = $mgClient->Logs();
|
$logs = $mgClient->Logs();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Messages" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Message object on the Messages API endpoint.
|
# Next, instantiate a Message object on the Messages API endpoint.
|
||||||
$message = $mgClient->Messages();
|
$message = $mgClient->Messages();
|
||||||
@ -41,7 +41,7 @@ Here's how to use the "Messages" API endpoint with Message Builder:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Message Builder object on the Messages API endpoint.
|
# Next, instantiate a Message Builder object on the Messages API endpoint.
|
||||||
$messageBldr = $mgClient->Messages()->MessageBuilder();
|
$messageBldr = $mgClient->Messages()->MessageBuilder();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Routes" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Routes object on the Routes API endpoint.
|
# Next, instantiate a Routes object on the Routes API endpoint.
|
||||||
$routes = $mgClient->Routes();
|
$routes = $mgClient->Routes();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Stats" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Stats object on the Stats API endpoint.
|
# Next, instantiate a Stats object on the Stats API endpoint.
|
||||||
$stats = $mgClient->Stats();
|
$stats = $mgClient->Stats();
|
||||||
|
@ -11,7 +11,7 @@ Here's how to use the "Unsubscribes" API endpoint:
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
# First, instantiate the client with your PUBLIC API credentials and domain.
|
# First, instantiate the client with your PUBLIC API credentials and domain.
|
||||||
$mgClient = new MailgunClient("pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7", "samples.mailgun.org");
|
$mgClient = new MailgunClient("key-3ax6xnjp29jd6fds4gc373sgvjxteol0", "samples.mailgun.org");
|
||||||
|
|
||||||
# Next, instantiate a Unsubscribes object on the Unsubscribes API endpoint.
|
# Next, instantiate a Unsubscribes object on the Unsubscribes API endpoint.
|
||||||
$unsubscribe = $mgClient->Unsubscribes();
|
$unsubscribe = $mgClient->Unsubscribes();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user