Perhaps this is related to changes in the library but this line of code
IRestResponse response = client.Execute(request);
no longer compiles with latest version of RestSharp.
I recommend just changing to
var response = client.Execute(request);
and will submit a PR