xxdavid/bakalarigradesapi

An unofficial API for Bakalari

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 1

Open Issues: 0

pkg:composer/xxdavid/bakalarigradesapi

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

This package is not auto-updated.

Last update: 2025-10-21 12:49:25 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