C# Class PlanGrid.Api.PlanGridClient

Mostrar archivo Open project: plangrid/plangrid-api-net

Public Methods

Method Description
Create ( string apiKey = null, string baseUrl = null, string version = "1", int timeout = 60, int maxRetries = null ) : IPlanGridApi

Method Details

Create() public static method

public static Create ( string apiKey = null, string baseUrl = null, string version = "1", int timeout = 60, int maxRetries = null ) : IPlanGridApi
apiKey string The API key provided by PlanGrid.
baseUrl string The base URL -- you should not have to change this.
version string The version of the API you want to use.
timeout int The maximum time that may elapse when making a call before timing out.
maxRetries int The maximum number of attempts to make contacting the server in the event of a 503 service unavailable repsonse. This defaults to unlimited retries, with a delay between each attempt that multiplies by two.
return IPlanGridApi