Coder Social home page Coder Social logo

mmda's Introduction

ridvanbaluyos/mmda

An MMDA Traffic Navigator package for PHP

Traffic Data downloaded from: MMDA-TV5 Metro Manila Traffic Navigator

Latest Stable Version Total Downloads Scrutinizer Code Quality Build Status Codacy Badge License

Table of contents

Installation

Open your composer.json file and add the following to the require key:

"ridvanbaluyos/mmda": "1.1"

After adding the key, run composer update from the command line to install the package

composer install

or

composer update

Usage

<?php
// require the autoloader created upon composer install/update
require_once __DIR__ . '/vendor/autoload.php';

// namespace
use Ridvanbaluyos\Mmda\MMDA as MMDA;

// instantiate the MMDA object
$mmda = new MMDA();

Getting Traffic Data

$mmda->traffic();

Getting Major Highways

$mmda->highways();

Getting Highway Segments

// parameter should be a valid highway (see getting major highways)
$mmda->segments('EDSA');

Special thanks to:

mmda's People

Contributors

aqlx86 avatar ridvanbaluyos avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

mmda's Issues

livefeed for NLEX

hey, your script work flawlessly I used this for some pet project of mine, could you please update your script to accommodate NLEX segment.

I believed the URI for this is nlex/livefeed, thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.