An open API service indexing awesome lists of open source software.

https://github.com/thormeier/transport-client-bundle

Symfony2 bundle to query the OpenData Transport API
https://github.com/thormeier/transport-client-bundle

Last synced: 9 months ago
JSON representation

Symfony2 bundle to query the OpenData Transport API

Awesome Lists containing this project

README

          

ThormeierTransportClientBundle
==============================

[![Build Status](https://travis-ci.org/thormeier/transport-client-bundle.png?branch=master)](https://travis-ci.org/thormeier/transport-client-bundle)

## Introduction

This bundle provides simple access to the [OpenData Transport API](http://transport.opendata.ch/) in Symfony2. The Transport API provides Swiss public transport data, that is converted into instances of Doctrine-like entity classes within this bundle for further usage.

container->get('transport.client');

This bundle provides a new `transport.client` service that returns an instance of `Thormeier\TransportClientBundle\Service\Transport`

## Installation

### Step 1: Composer require

$ php composer.phar require "thormeier/transport-bundle":"1.0.*"

### Step2: Enable the bundle in the kernel