repat / weimark-php
API Client for weimark.com webservice
dev-master
2019-04-07 17:57 UTC
Requires
- php: >=5.6
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-11-20 06:05:49 UTC
README
🚧 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
- MIT, see LICENSE
Version
- Version 0.1
Contact
repat
- Homepage: https://repat.de
- e-mail: repat@repat.de
- Twitter: @repat123