xxdavid/bakalarigradesapi

An unofficial API for Bakalari

v1.0.1 2014-07-11 20:55 UTC

README

An unofficial PHP API for Bakaláři -- Czech school administration application.

##Requirements

  • PHP 5.3 or higher
  • cURL

##Instalation Via Composer:

{
    "require": {
        "xxdavid/bakalarigradesapi": "dev-master"
    }
}

##Usage

$bakalari = new BakalariGradesAPI($username, $password, $host, $cookieFile);
$subjects = $bakalari->getGrades();

For more information see example.php

##Supported versions These versions are tested and should be compatible:

  • lbver 17.5.2012
  • lbver 31.8.2012
  • lbver 2.9.2013

lbver is name of class of an element on the login page.

<div class="lbver">2.9.2013</div>

If your version isn't compatible please don't be afraid of implementing it. Just fork and send me a pull request with your awesome work.

##License: MIT See LICENSE