Started integrating RANDOM.ORG API for competition rolling.
This commit is contained in:
14
osrs-toolbox/Random.cs
Normal file
14
osrs-toolbox/Random.cs
Normal file
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
@@ -85,4 +85,8 @@
|
|||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="APIs\Random\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
Reference in New Issue
Block a user