Update README.md
6e674df8a1a1dccdcd150083dc5fb8393498d5fb
1 files changed
README.md
diff --git a/README.md b/README.md
index 62680bd..2287045 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,23 @@
# Vimexx_API
Vimexx_API partly implementation for making the LetsEcnrypt DNS challenge (needed for wildcard certs)
+
+First create the WHMCS API credentials on the Vimexx website https://my.vimexx.nl/api
+
+You also need your userid and password of your account.
+
+Call LetsEncryptAsync to make the challenge record in DNS.
+
+Happy Cert-wild-carding.
+
+
+```C#
+using Vimexx_API.Api;
+
+var api = new Api();
+
+await api.LoginAsync("<clientid>", "<client-secret>", "<userid>", "<password>");
+
+var result = await api.LetsEncryptAsync("voorbeeld.nl", "<challenge>");
+
+Console.WriteLine($"result: {result.message}");
+```