cuba_weather_redcuba_dart 2.3.1 cuba_weather_redcuba_dart: ^2.3.1 copied to clipboard
Application programming interface of the Cuba Weather project for [www.redcuba.cu](https://www.redcuba.cu) implemented in Dart.
import 'dart:io';
import 'package:cuba_weather_redcuba_dart/cuba_weather_redcuba_dart.dart';
void main() {
print('Insert municipality:');
var input = stdin.readLineSync();
var cubaWeatherRedCuba = CubaWeatherRedCuba();
cubaWeatherRedCuba.get(input).then((weather) {
print(weather);
});
}