legendary

Last updated:

0 purchases

legendary Image
legendary Images
Add to Cart

Description:

legendary

legendary is a Dart package that lets you interact with Legendary, an epic games launcher for linux, windows, and mac, directly from code. It is used in my Flutter-based Epic Games Launcher.
Features #

Authenticate and log out.
List your bought games.
List your installed games.
Install games and import games that are already installed.
Everything else that Legendary can do! Report missing or broken features.

Getting started #
First, use dart pub add legendary to add the package to your project. Then, import it, and use it!:
import 'package:legendary/legendary.dart';

void main() async {
final client = LegendaryClient(legendaryPath: "absolute/path/to/legendary.exe");
await client.setLogin("auth_token", token: "", sid: "");
await client.status();
await client.list();
}
copied to clipboard
You may check the types in the github repository or in your IDE intellisense.
You can also see examples in the example directory.
Additional information #
If you modify anything related to JSON types/conversion you need to re-generate the code using dart run build_runner build.

Backend: Legendary from derroid
My Flutter-based: Flutter Epic Games Launcher from aitor-gomila
Inspired by: Heroic Games Launcher from flavioislima

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.