The national german volleyball confederation DVV (Deutscher Volleyballverband) provides an XML API for their league management tool SAMS
.
After years of maintaining sports-related websites, gathering the experience that there is nothing more boring than updating results, fixtures and standings, I forced myself to head straight into WordPress plugin development and PHP.
The plugin itself is at a very early stage and I am still new to PHP and WordPress development. Intentionally there are no releases or version numbers provided yet.
Caused by that the installation needs some manual work at the beginning (it is not that hard - trust me).
sams-plugin
and copy the entire content from the folders app
and wordpress
into it.sams-plugin
folder to your WordPress plugins directory (wp-content/plugins
)After activating the plugin succesfully,you can place a table to a certain point of your website using the samstable
shortcode with your apikey
, a matchseriesid
, like this:
[samstable apikey="your_api_key" matchseriesid="2012217"]
You can place fixtures for a certain division and team using the samsfixtures
shortcode with your apikey
, a matchseriesid
and a teamid
:
[samsfixtures apikey="your_api_key" matchseriesid="match_series_id" teamid="your_team_id"]
The SAMS XML-interface is describes in the following wiki:
This piece of modern art is published with a GNU GPLv3 license. I will not take charge of any harm, damages or data losses that could be caused by this plugin. Use it on your own risk.
Feel free to create a pull request or get in contact with me.