moosend / phpwrapper
Installs: 31 955
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 22
Forks: 4
Open Issues: 3
Requires
- php: >=5.4
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ~1.12
- phpunit/phpunit: ~4.8
- satooshi/php-coveralls: ~1.0
- squizlabs/php_codesniffer: ~2.6
This package is auto-updated.
Last update: 2024-10-29 04:31:02 UTC
README
The following project is a PHP implementation of the Moosend V3 API. You can find the API documentation at http://docs.moosendapp.apiary.io/#
Requirements
PHP 5.4.0 and later
Installation & Usage
composer require moosend/phpwrapper
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\CampaignsApi(); $format = "format_example"; // string | $apikey = "apikey_example"; // string | You may find your API Key or generate a new one in your account settings. $campaign_id = "campaign_id_example"; // string | The ID of the requested AB test campaign try { $result = $api_instance->aBTestCampaignSummary($format, $apikey, $campaign_id); print_r($result); } catch (Exception $e) { echo 'Exception when calling CampaignsApi->aBTestCampaignSummary: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
CampaignsApi
MailingListsApi
SegmentsApi
SubscribersApi
Documentation for Models
- Model.A
- Model.ABCampaignData
- Model.AbTestCampaignSummaryResponse
- Model.ActivityByLocationResponse
- Model.AddingCriteriaToSegmentsRequest
- Model.AddingCriteriaToSegmentsResponse
- Model.AddingMultipleSubscribersRequest
- Model.AddingMultipleSubscribersResponse
- Model.AddingSubscribersRequest
- Model.AddingSubscribersResponse
- Model.Analytic
- Model.B
- Model.Campaign
- Model.CampaignSummaryResponse
- Model.CloningAnExistingCampaignResponse
- Model.Context
- Model.Context110
- Model.Context118
- Model.Context132
- Model.Context140
- Model.Context145
- Model.Context148
- Model.Context17
- Model.Context32
- Model.Context37
- Model.Context52
- Model.Context64
- Model.Context66
- Model.Context72
- Model.Context84
- Model.Context89
- Model.Context93
- Model.CreatingACustomFieldRequest
- Model.CreatingACustomFieldResponse
- Model.CreatingADraftCampaignRequest
- Model.CreatingADraftCampaignResponse
- Model.CreatingAMailingListRequest
- Model.CreatingAMailingListResponse
- Model.CreatingANewSegmentRequest
- Model.CreatingANewSegmentResponse
- Model.Criterion
- Model.CustomField
- Model.CustomField53
- Model.CustomFieldsDefinition
- Model.DeletingACampaignResponse
- Model.DeletingAMailingListResponse
- Model.DeletingASegmentResponse
- Model.Format
- Model.GetAllCampaignsResponse
- Model.GetCampaignStatisticsResponse
- Model.GetCampaignStatisticsWithPagingFilteredResponse
- Model.GetCampaignsByPageAndPagesizeResponse
- Model.GetCampaignsByPageResponse
- Model.GetSubscriberByEmailAddressResponse
- Model.GetSubscriberByIdResponse
- Model.GettingAllActiveMailingListsResponse
- Model.GettingAllActiveMailingListsWithPagingResponse
- Model.GettingAllYourSendersResponse
- Model.GettingCampaignDetailsResponse
- Model.GettingMailingListDetailsResponse
- Model.GettingSegmentDetailsResponse
- Model.GettingSegmentSubscribersResponse
- Model.GettingSegmentsResponse
- Model.GettingSenderDetailsResponse
- Model.GettingSubscribersResponse
- Model.ImportOperation
- Model.ImportOperation19
- Model.LinkActivityResponse
- Model.MailingList
- Model.MailingList68
- Model.MailingList69
- Model.MailingList85
- Model.MailingLists
- Model.MailingLists119
- Model.MailingLists134
- Model.Paging
- Model.Paging76
- Model.RemovingACustomFieldResponse
- Model.RemovingASubscriberRequest
- Model.RemovingASubscriberResponse
- Model.RemovingMultipleSubscribersRequest
- Model.RemovingMultipleSubscribersResponse
- Model.ReplyToEmail
- Model.SchedulingACampaignRequest
- Model.SchedulingACampaignResponse
- Model.Segment
- Model.Sender
- Model.SendingACampaignResponse
- Model.ShortBy
- Model.SortMethod
- Model.Status
- Model.Subscriber
- Model.Subscribers
- Model.Subscribers150
- Model.TestingACampaignRequest
- Model.TestingACampaignResponse
- Model.Type
- Model.UnschedulingACampaignResponse
- Model.UnsubscribingSubscribersFromAccountRequest
- Model.UnsubscribingSubscribersFromAccountResponse
- Model.UnsubscribingSubscribersFromMailingListAndASpecifiedCampaignRequest
- Model.UnsubscribingSubscribersFromMailingListAndASpecifiedCampaignResponse
- Model.UnsubscribingSubscribersFromMailingListRequest
- Model.UnsubscribingSubscribersFromMailingListResponse
- Model.UpdatingACustomFieldRequest
- Model.UpdatingACustomFieldResponse
- Model.UpdatingADraftCampaignRequest
- Model.UpdatingADraftCampaignResponse
- Model.UpdatingAMailingListRequest
- Model.UpdatingAMailingListResponse
- Model.UpdatingASegmentRequest
- Model.UpdatingASegmentResponse
- Model.UpdatingASubscriberRequest
- Model.UpdatingASubscriberResponse
- Model.UpdatingSegmentCriteriaRequest
- Model.UpdatingSegmentCriteriaResponse
- Model.WithStatistics