Download the PHP package devmachine/guzzle-markus-client without Composer
On this page you can find all versions of the php package devmachine/guzzle-markus-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devmachine/guzzle-markus-client
More information about devmachine/guzzle-markus-client
Files in devmachine/guzzle-markus-client
Package guzzle-markus-client
Short Description Guzzle client for Markus API e.g. http://forumcinemas.lv/XML.
License MIT
Homepage http://devmachine.net
Informations about the package guzzle-markus-client
Guzzle Client for MCS API
Guzzle client for Markus Cinema System installations - http://www.markus.ee/. Used in Baltics, Finland, Iceland and Malta. In Latvia, Lithuania and Estonia best known as ForumCinemas chain.
Cinemas list (not complete):
- http://www.forumcinemas.lv/XML
- http://www.forumcinemas.lt/XML
- http://www.forumcinemas.ee/XML
- http://www.finnkino.fi/XML
- http://www.sambio.is/XML
- http://www.edencinemas.com.mt/XML (incomplete and untested)
- http://www.cinamonkino.lv/XML (Riga)
- http://www.multikino.lv/XML (Riga)
There are more MCS installations (e.g. http://www.silverscreen.lv), but not all of them have a public XML API. If you happen to know any working XML URLs - create a pull request.
Description
This guzzle client tries to fix various inconsistencies of XML API, regroup, rename and filter returned results. Basically to make it look like you deal with fine-tuned JSON API.
Installation
This library can be installed using Composer. Add the following to your composer.json:
Terminology
Some terminology explained used in MCS API:
area
- represents a location of theatres (usually a city),event
- represents a movie,show
- represents a show time of a movie i.e. theatre, auditorium, movie (event) and date/time of the show.
Sample usage
Sample output:
API methods
There are no required parameters. Below there is an example with all possible arguments for each method.
Image formats
Accoding to findings MCS API has consistent images naming/dimensions.
Name | Portrait | Landscape |
---|---|---|
micro | 59x87 | 88x31 |
small | 99x146 | 148x100 |
medium | 320x480 | 310x150 |
large | 480x711 | 670x250 |
xlarge | 640x948 | 851x315 |
hd | 720x1280 | 1280x720 |
full hd | 1080x1920 | 1920x1080 |
poster | 768x1097 | - |