2017 © Pedro PelĂĄez
 

library sl-api-client

A SL api wrapper

image

snilius/sl-api-client

A SL api wrapper

  • Saturday, September 19, 2015
  • by victorhaggqvist
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SL Api Client for PHP

A PHP wrapper for (some of) the SL apis provided through Trafiklab.se., (*1)

This wrapper this far covers;, (*2)

  • https://www.trafiklab.se/api/sl-reseplanerare-2
  • https://www.trafiklab.se/api/sl-platsuppslag

Install

With composer, (*3)

composer require snilius/sl-api-client

Sample

<?php

$client = new Snilius\SL\Client('someapikey');
$response = $client->slPlatsuppslag('Slussen'):

For a more detailed sample have a look at the test., (*4)

Also see the api docs., (*5)

License

The MIT License (MIT)

Copyright (c) 2015 Victor HĂ€ggqvist

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

The Versions

19/09 2015

dev-master

9999999-dev

A SL api wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

by Victor HĂ€ggqvist

19/09 2015

0.1.2

0.1.2.0

A SL api wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

by Victor HĂ€ggqvist

18/09 2015

0.1.1

0.1.1.0

A SL api wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

by Victor HĂ€ggqvist

18/09 2015

0.1.0

0.1.0.0

A SL api wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

by Victor HĂ€ggqvist