Skip to content

A dart library for interfacing with the Dark Sky Weather API.

License

Notifications You must be signed in to change notification settings

sowens-csd/darksky-weather-dart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

darksky_weather

A dart library for interfacing with the Dark Sky Weather API.

Usage

A simple usage example:

import 'dart:async';
import 'package:darksky_weather/darksky_weather_io.dart';

Future<Null> main() async {
  var darksky = new DarkSkyWeather("API_KEY_HERE",
      language: Language.German, units: Units.SI);
  var forecast = await darksky.getForecast(48.21, 16.363);

  print(forecast.currently.temperature);
  print(forecast.currently.summary);
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

A dart library for interfacing with the Dark Sky Weather API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%