joelrose / DSB-Mobile-Parser

PHP Script which uses the DSB API for Smartphones to get all Information about your DSB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DSB-Mobile-Parser

Thanks to: https://github.com/xerc
Unofficial DSBmobile API written in PHP, which uses http://simplehtmldom.sourceforge.net/ to parse the DSB-Plans

Usage:

<?php

$dsbmobile = new DSB(*Your Username*, *Your Password*);

$plan = $dsbmobile->getJson($index);

if($plan == false)

...

?>

DSB Class

  • DSB constructor.
  • @param $username
  • @param $password
public function __construct($username, $password)
  • @return a Json object which contains information about your DSB
public function getData()
  • @return false if the function fails otherwise it returns a Json object which contains your DSB plan
public function getJson()

About

PHP Script which uses the DSB API for Smartphones to get all Information about your DSB


Languages

Language:PHP 100.0%