2017 © Pedro Peláez
 

library vg-wort-message-api

VG Wort METIS messages API helper

image

emgag/vg-wort-message-api

VG Wort METIS messages API helper

  • Thursday, May 31, 2018
  • by emgag
  • Repository
  • 3 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

vg-wort-message-api

WARNING: This library is no longer maintained and doesn't work with the current VG Wort METIS API version., (*1)


A plugin to simplify the creation and submission of VG Wort METIS messages. Works with the official T.O.M. WebServices., (*2)

Installation

composer require emgag/vg-wort-message-api

Usage

MessageService, (*3)

use Emgag\VGWort\MessageService;

$messageService = new MessageService($username, $password);

$response = $messageService->newMessage(
    $id, // Private Identification Id
    [
        // Multiple Authors possible
        ["firstName" => "", "surName" => "", "cardNumber" => ""]
    ],
    $title, // Title of this message
    $text, // Text of this message (plain text)
    $urls // URLs of this message
);

It's possible to provide multiple URLs. The URLs $urls could be in one of these formats:, (*4)

  • As an simple array.
$urls = [
    "http://example.com/path/to/file.html"
];
  • As an multi-dimensional array. The keys will be ignored.
$urls = [
    "page-1" => [
        "http://example-1.com/path/to/file.html"
    ],
    "page-2" => [
        "http://example-2.com/path/to/file.html"
    ]
];

PixelService, (*5)

use Emgag\VGWort\PixelService;

$pixelService = new PixelService($username, $password);

try {
    $ids = $pixelService->overview(PixelService::TYPE_MINDESTZUGRIFF);
} catch (\Exception $e) {
    ...
}

Allowed types: - PixelService::TYPE_MINDESTZUGRIFF - PixelService::TYPE_ANTEILIGER_MINDESTZUGRIFF, (*6)

License

vg-wort-message-api is licensed under the MIT License., (*7)

The Versions

31/05 2018

dev-master

9999999-dev https://github.com/emgag/vg-wort-message-api

VG Wort METIS messages API helper

  Sources   Download

MIT

The Requires

  • php >=7.1
  • ext-soap *

 

The Development Requires

by Dominik Dassow

vg-wort tom metis