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
2022-03-05 16:49:11 +01:00

10 lines
272 B
Dart

import 'package:canteenlib/canteenlib.dart';
void main() {
var canteen = Canteen("http://icanteen.vasedomena.neco");
canteen.login("user", "password").then((_) {
canteen.jidelnicekDen().then((jidelnicek) {
print(jidelnicek.jidla[0].hlavni);
});
});
}