aareguru_api 0.3.1 copy "aareguru_api: ^0.3.1" to clipboard
aareguru_api: ^0.3.1 copied to clipboard

A Dart wrapper for the Aare.guru API

Aare.guru API Dart Wrapper #

Wrapper for the Dart language of the Aare.guru API. This API provides infos about bathing spots in the Aare river in Switzerland.

This package provides a type-safe way to interact with the Aare.guru API. It is written in Dart and can be used in any Dart project.

Aare.guru? #

Look here: Aare.guru
API documentation: Aare.guru API

Getting started #

Import the package in your dart project.

Add the following to your pubspec.yaml:

dependencies:
  aareguru_api:
    git: https://github.com/Wii42/aareguru_api_dart_wrapper

Then run dart pub get to install the package, or flutter pub get if you are using Flutter.

Usage #

Now in your Dart code, you can use:

import 'package:aareguru_api/aareguru_api.dart';

For examples see the example.

Note #

This package is still in development and may not be stable. Breaking changes may occur in every future version until the first stable release.

See the CHANGELOG for details about the changes in each version.

Some fields have been renamed in comparison to the API to better clarify their meaning and conform to camelCase. For example, 'aare' in Today is now 'aareTemperature' and 'longname' in City is now 'longName'. If a field has been renamed, is is specified in the documentation for the field. For example

License #

This package is licensed under the GNU GPLv3. See the LICENSE file for details.

1
likes
130
points
66
downloads

Publisher

verified publisherwi42.dev

Weekly Downloads

A Dart wrapper for the Aare.guru API

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

http, latlong2

More

Packages that depend on aareguru_api