galnet_rss 0.2.0
galnet_rss: ^0.2.0 copied to clipboard
'A lightweight Dart client for accessing **Galnet** articles from the video game *Elite: Dangerous*, using the official RSS feed.'
A lightweight Dart client for accessing Galnet articles from the video game Elite: Dangerous, using the official RSS feed.
Built on top of the http package, this library provides a simple and efficient way to retrieve and process news
articles published on Galnet, leveraging the platform's native HTTP implementation.
π¦ Installation #
Add the dependency to your pubspec.yaml:
dependencies:
galnet_rss: 0.0.1
Or install it via the command line:
dart pub add galnet_rss
π Usage #
import 'package:galnet/galnet.dart';
Future<void> main() async {
final GalnetClient client = GalnetClient(userAgent: 'galnet/0.4.0');
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 #
This project is licensed under the terms described in the LICENSE file.
β οΈ Disclaimer #
Elite: Dangerous Β© 2012β2025 Frontier Developments plc. All rights reserved.
This project is not affiliated with, endorsed by, or in any way officially connected to Frontier Developments plc.