Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
G. Arends committed May 13, 2014
1 parent 46a4a1a commit b62f83c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Multi-Press SOAP webservice API

This PHP package makes it easier to work with the Multi-Press SOAP Service.

$conn = new \WMC\MultiPress\Client('http://example.com/multipress.wsdl', ['login' => 'example', 'password' => 'examplepassword']);
$mp = new \WMC\MultiPress\Service($conn);
$xml = $mp->getServerInfo();

$orderRequest = new \WMC\MultiPress\XML\Order();
$orderRequest
->setRelation('123456')
->setCompany('Example Inc.')
->setPrintRun('5000')
->setDeliveryDate(new \DateTime());
$xml = $mp->addOrder($orderRequest);

0 comments on commit b62f83c

Please sign in to comment.