This repository has been archived on 2023-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
canteenlib/example/canteenlib_example.dart

11 lines
271 B
Dart
Raw Normal View History

import 'package:canteenlib/canteenlib.dart';
void main() {
var canteen = Canteen("http://icanteen.vasedomena.neco");
canteen.login("user", "password").then((_) {
canteen.jidelnicekDen().then((jidelnicek) {
2022-03-05 17:18:57 +01:00
print(jidelnicek.jidla[0].nazev);
});
});
}