galnet 0.3.0 copy "galnet: ^0.3.0" to clipboard
galnet: ^0.3.0 copied to clipboard

A client library to access the Galnet articles (from the video game Elite Dangerous) directly using their RSS feed

A client library to access the Galnet articles (from the video game Elite: Dangerous) directly using their RSS feed.

Based on the http package allowing to use platform efficient implementation, the library propose a simple and elegant way to access articles

How to use it #

Add to your pubspec.yaml

galnet: ^0.3.0

or run

dart pub add galnet

Example #

import 'package:galnet/galnet.dart';

Future<void> main() async {
  final GalnetClient client = GalnetClient(userAgent: 'galnet/0.0.1');

  final List<GalnetArticle> articles = await client.fetchGalnetArticles();

  for (final article in articles) {
    print(article.title);
    print('${article.pubDate}');
    print(article.description);
    print(article.link);
  }
}

License #

See LICENSE

Elite: Dangerous © 2012,2025 Frontier Developments plc. All rights reserved

0
likes
140
points
30
downloads

Publisher

verified publisherprojetretro.io

Weekly Downloads

A client library to access the Galnet articles (from the video game Elite Dangerous) directly using their RSS feed

Repository

Topics

#elite-dangerous #galnet #rss

Documentation

API reference

License

unknown (license)

Dependencies

collection, html, http, intl, meta, rss_dart

More

Packages that depend on galnet