repat/weimark-php

API Client for weimark.com webservice

dev-master 2019-04-07 17:57 UTC

This package is auto-updated.

Last update: 2024-11-20 06:05:49 UTC


README

Latest Version on Packagist Total Downloads

🚧 UNDER CONSTRUCTION 🚧

weimark-php is an API client for weimark.com webservice API. It's a private API, you need to contact them. This is an independent project with no official support, especially not from Weimark. You're welcome to open an issue or pull request though.

Based on ruby counterpart davidred/weimark

Installation

$ composer require repat/weimark-php

Documentation

NewApplication

// init
$w = new \Repat\Weimark\Client('email@provider.tld', 'secret_password', 'agent@email.tld');

// fill this out
$template = array_flip($w->getApplicationTemplate());
$template['fname'] = 'Joe';
// ...

$response = $w->newApplication($template);

// XML Response parsed as array
print_r($response);

GetApplication

// init
$w = new \Repat\Weimark\Client('email@provider.tld', 'secret_password', 'agent@email.tld');
$response = $w->getApplication('application_id');

// XML Response parsed as array
print_r($response);

License

Version

  • Version 0.1

Contact

repat

Flattr this git repo