Skip to content

JerrettDavis/MyQDotNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyQDotNet

MyQDotNet is an unofficial C# wrapper for the MyQ Api.

Warning: MyQ does not have any public API. This API is provided as-is, with no warranty or guarantees. Use at your own risk.

Usage

Basic Usage

var api = new MyQ(new HttpClient());
await api.Authenticate("username", "password");

var garageDoor = api.Devices.Values.Where(d => d.DeviceFamily == "garagedoor")
                            .Cast<GarageDoor>()
                            .First();

await garageDoor.Open();
Thread.Sleep(15000);
await garageDoor.Close();

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

An unofficial C# wrapper for the MyQ API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages