cuba_weather_dart 2.5.1 cuba_weather_dart: ^2.5.1 copied to clipboard
Application programming interface of the Cuba Weather project implemented in Dart
import 'dart:io';
import 'package:cuba_weather_dart/cuba_weather_dart.dart';
void main() {
print('Insert municipality:');
var input = stdin.readLineSync();
var cubaWeather = CubaWeather();
cubaWeather.get(input).then((weather) {
print(weather);
});
}