Beispiel #1
0
 public Manager(string projectID, string host)
 {
     client     = new GraphQL.Client.Http.GraphQLHttpClient(host, new GraphQL.Client.Serializer.Newtonsoft.NewtonsoftJsonSerializer());
     _projectID = projectID;
 }
Beispiel #2
0
 public Manager(string apiKey, string projectID, string host)
 {
     client = new GraphQL.Client.Http.GraphQLHttpClient(host, new GraphQL.Client.Serializer.Newtonsoft.NewtonsoftJsonSerializer());
     Task.Run(() => UseProtectedAPI(apiKey)).Wait();
     _projectID = projectID;
 }