diff --git a/src/GregClient/Requests/GetCompatibilityMap.cs b/src/GregClient/Requests/GetCompatibilityMap.cs
new file mode 100644
index 0000000..beddde7
--- /dev/null
+++ b/src/GregClient/Requests/GetCompatibilityMap.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Http;
+using System.Text;
+using System.Threading.Tasks;
+using RestSharp;
+
+namespace Greg.Requests
+{
+ ///
+ /// Returns the compatibility information with a fixed map of host applications
+ /// and it's respective supported Dynamo version
+ ///
+ public class GetCompatibilityMap : Request
+ {
+ public GetCompatibilityMap()
+ {
+ }
+
+ public override string Path
+ {
+ get { return "host_map"; }
+ }
+
+ public override HttpMethod HttpMethod
+ {
+ get { return HttpMethod.Get; }
+ }
+
+ internal override void Build(ref RestRequest request)
+ {
+ }
+ }
+}
diff --git a/src/GregClientTests/GregClientTests.cs b/src/GregClientTests/GregClientTests.cs
index 1ce0066..ed06a90 100644
--- a/src/GregClientTests/GregClientTests.cs
+++ b/src/GregClientTests/GregClientTests.cs
@@ -2,6 +2,7 @@
using Greg.Requests;
using Greg.Responses;
using Greg.Utility;
+using Newtonsoft.Json.Linq;
using RestSharp;
using System.Reflection;
using System.Text.Json;
@@ -161,6 +162,19 @@ public void ListHostsTest()
Assert.That(hostsResponse.content.Count, Is.EqualTo(5));
}
+ [Test]
+ public void ListCompatibilityMapTest()
+ {
+ GregClient pmc = new GregClient(null, "http://dynamopackages.com/");
+ var comMap = new GetCompatibilityMap();
+ var comMapResponse = pmc.ExecuteAndDeserializeWithContent