2017 © Pedro Peláez
 

library brightwrite-php-sdk

image

brightwrite/brightwrite-php-sdk

  • Monday, March 26, 2018
  • by brightwrite
  • Repository
  • 0 Watchers
  • 0 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

BrightWrite

BrightWrite API, (*1)

This PHP package is automatically generated by the Swagger Codegen project:, (*2)

  • API version: 0.1.7
  • Package version: 1.0.13
  • Build date: 2018-03-26T00:20:23.932Z
  • Build package: class io.swagger.codegen.languages.PhpClientCodegen

Requirements

PHP 5.4.0 and later, (*3)

Installation & Usage

Composer

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

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/brightwrite/brightwrite-php-sdk.git"
    }
  ],
  "require": {
    "brightwrite/brightwrite-php-sdk": "*@dev"
  }
}

Then run composer install, (*5)

Manual Installation

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

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

Tests

To run the unit tests:, (*7)

composer install
./vendor/bin/phpunit lib/Tests

Getting Started

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

setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. BEARER) for API key, if needed
// BrightWrite\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'BEARER');

$api_instance = new BrightWrite\Api\DefaultApi();

try {
    $api_instance->brightwriteControllerStatus();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->brightwriteControllerStatus: ', $e->getMessage(), "\n";
}

?>

Documentation for API Endpoints

All URIs are relative to https://api.brightwrite.com/api/v1, (*9)

Class Method HTTP request Description
DefaultApi brightwriteControllerStatus GET /status Health check endpoint
PartnerApi brightwriteControllerPricingRequestCarRentalAction POST /pricingRequestCarRental Pricing request for a car rental policy
PartnerApi brightwriteControllerQuoteConversionAction PUT /quoteConversion Pricing request for car rental business

Documentation For Models

Documentation For Authorization

apiKeyHeader

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

Author

The Versions

26/03 2018

dev-master

9999999-dev https://api-doc.brightwrite.com

  Sources   Download

MIT Apache-2.0 Apache V2

The Requires

  • ext-curl *
  • ext-json *
  • ext-mbstring *
  • php >=5.3.3

 

The Development Requires

api php swagger sdk insurance brightwrite

26/03 2018

1.0.13

1.0.13.0 https://api-doc.brightwrite.com

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk

01/02 2018

1.0.12

1.0.12.0 http://swagger.io

  Sources   Download

Apache V2

The Requires

  • php >=5.3.3
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk

05/10 2017

1.0.11

1.0.11.0 http://swagger.io

  Sources   Download

Apache V2

The Requires

  • php >=5.3.3
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk

14/09 2017

1.0.10

1.0.10.0 http://swagger.io

  Sources   Download

Apache V2

The Requires

  • php >=5.3.3
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk

08/09 2017

1.0.9

1.0.9.0 http://swagger.io

  Sources   Download

proprietary

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk

04/08 2017

1.0.8

1.0.8.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite

25/07 2017

1.0.7

1.0.7.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite

01/07 2017

1.0.6

1.0.6.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite

01/07 2017

1.0.5

1.0.5.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite

01/07 2017

1.0.4

1.0.4.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite

01/07 2017

1.0.3

1.0.3.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite

30/06 2017

1.0.2

1.0.2.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite

28/06 2017

1.0.1

1.0.1.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite

27/06 2017

1.0.0

1.0.0.0 http://swagger.io

PHP client for BrightWrite API

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php swagger sdk insurance brightwrite