Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
Data can be collected from KSP by using any HTTP client to make a request to the appropriate URL. The following example demonstrates how to construct such URL.
API strings can be chained together using the & character to allow multiple items of data to be return from a single request, an example is shown below.
The above example will return the corresponding altitude and mission time values from KSP as a JSON formatted string. The attribute names in the returned JSON will match the identifiers before the assignment character. An example of the returned data is given below.
If an API string does not exist, then an internal server error page will be returned instead.