legendary 0.1.4 copy "legendary: ^0.1.4" to clipboard
legendary: ^0.1.4 copied to clipboard

A client for interacting with Legendary Epic Games Launcher type-safely.

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 (await client.setLogin("auth_token", token: "", sid: "")).data;
    await (await client.status()).stdout;
    await (await client.list()).stderr;
}

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 #

1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A client for interacting with Legendary Epic Games Launcher type-safely.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

build_runner, json_annotation, json_serializable, path

More

Packages that depend on legendary