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

example/galnet.dart

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 GalnetArticle article in articles) {
    print(article.title);
    print('${article.pubDate}');
    print(article.description);
    print(article.link);
    print(article.enLink);
    print(article.frLink);
    print(article.deLink);
  }
}
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