tfl_api_client

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

tfl api client

TfL API Client #
A client for accessing the TfL API.
Please note that the TfL API Client is unofficial and not endorsed by TfL.
Usage #
A simple usage example:
import 'dart:io';

import 'package:tfl_api_client/tfl_api_client.dart';

Future<void> main() async {
final client = clientViaAppKey(Platform.environment['APP_KEY']!);

final api = TflApiClient(client: client);

for (var line in await api.lines.getByPathIds(['victoria'])) {
print(line);
}

client.close();
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.