enigma_web 0.4.0 copy "enigma_web: ^0.4.0" to clipboard
enigma_web: ^0.4.0 copied to clipboard

outdated

Attempt to create unified API to control Enigma1 & Enigma2 web interfaces

EnigmaWeb #

This library is conversion of EnigmaWeb to Dart language. Works with both Enigma1 and Enigma2 web interfaces.

First thing to do is to setup profile information

var profile = Profile();
profile.address = "192.168.0.2";
profile.httpPort = 80;
profile.enigma = EnigmaType.enigma2;
profile.username = "root";
profile.password = "password";

Execute command #

All available web commands are implemented, just execute command and read response from object model, ie.

IFactory f= new Factory(); //default object initializer factory
var currentCommand = new GetCurrentServiceCommand(f);
var result = await currentCommand.executeAsync(profile);
print(result.currentService.name);  
0
likes
0
pub points
0%
popularity

Publisher

verified publisherkrkadoni.com

Attempt to create unified API to control Enigma1 & Enigma2 web interfaces

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cookie_jar, dio, logging, test, xml

More

Packages that depend on enigma_web