galnet 0.0.1
galnet: ^0.0.1 copied to clipboard
A client to easily access the Galnet News Network articles from the video game Elite Dangerous
A client library to access the Galnet News Network articles from the video game Elite: Dangerous.
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.0.1
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);
}
}
License #
See LICENSE
Copyright #
Elite: Dangerous © 2012,2025 Frontier Developments plc. All rights reserved