From 75195e2c954894022783ac44e6567feca04ecd5b Mon Sep 17 00:00:00 2001 From: Kalakoi Date: Tue, 10 Jun 2025 16:25:42 -0400 Subject: [PATCH] Started integrating RANDOM.ORG API for competition rolling. --- osrs-toolbox/Random.cs | 14 ++++++++++++++ osrs-toolbox/osrs-toolbox.csproj | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 osrs-toolbox/Random.cs diff --git a/osrs-toolbox/Random.cs b/osrs-toolbox/Random.cs new file mode 100644 index 0000000..1a4fb5e --- /dev/null +++ b/osrs-toolbox/Random.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace osrs_toolbox +{ + public static class Random + { + private static string BaseEndpoint = @"https://api.randdom.org/json-rpc/4/invoke"; + private static string APIKey = APIKeys.RANDOM; + } +} diff --git a/osrs-toolbox/osrs-toolbox.csproj b/osrs-toolbox/osrs-toolbox.csproj index 8714d4a..703ed70 100644 --- a/osrs-toolbox/osrs-toolbox.csproj +++ b/osrs-toolbox/osrs-toolbox.csproj @@ -85,4 +85,8 @@ + + + +