2017 © Pedro Peláez
 

library messagingapi-sdk-php

image

telstra/messagingapi-sdk-php

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Messaging SDK

  • API version: 2.2.9
  • Package version: 1.0.6

Requirements

PHP 5.5 and later, (*1)

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:, (*2)

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/Telstra/MessagingAPI-SDK-php.git"
    }
  ],
  "require": {
    "Telstra/MessagingAPI-SDK-php": "*@master"
  }
}

Then run composer install, (*3)

Manual Installation

Download the files and include autoload.php:, (*4)

    require_once('/path/to/vendor/autoload.php');

Tests

To run the unit tests:, (*5)

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:, (*6)

authToken($client_id, $client_secret, $grant_type);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthenticationApi->authToken: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://tapi.telstra.com/v2, (*7)

Class Method HTTP request Description
AuthenticationApi authToken POST /oauth/token Generate OAuth2 token
MessagingApi getMMSStatus GET /messages/mms/{messageid}/status Get MMS Status
MessagingApi getSMSStatus GET /messages/sms/{messageId}/status Get SMS Status
MessagingApi retrieveMMSResponses GET /messages/mms Retrieve MMS Responses
MessagingApi retrieveSMSResponses GET /messages/sms Retrieve SMS Responses
MessagingApi sendMMS POST /messages/mms Send MMS
MessagingApi sendSMS POST /messages/sms Send SMS
ProvisioningApi createSubscription POST /messages/provisioning/subscriptions Create Subscription
ProvisioningApi deleteSubscription DELETE /messages/provisioning/subscriptions Delete Subscription
ProvisioningApi getSubscription GET /messages/provisioning/subscriptions Get Subscription

Documentation For Models

Documentation For Authorisation

auth

  • Type: OAuth
  • Flow: application
  • Authorisation URL:
  • Scopes:
    • NSMS: NSMS

Author

The Versions

02/07 2018

dev-master

9999999-dev https://dev.telstra.com

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

api php rest sdk telstradev openapitools openapi-generator

02/07 2018

1.0.5

1.0.5.0 https://dev.telstra.com

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

api php rest sdk telstradev openapitools openapi-generator

20/06 2018

1.0.4.1

1.0.4.1 https://dev.telstra.com

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

api php rest sdk telstradev openapitools openapi-generator

23/04 2018

1.0.4

1.0.4.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

07/03 2018

1.0.3

1.0.3.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

09/02 2018

1.0.2

1.0.2.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk