79239f4c90
The QuantConnect api v2 exposes an endpoint that can return a link to download data purchased on QuantConnect. This commit adds the ability to fetch the link from the api as well as a data structure that can hold the response from the server.
17 lines
354 B
C#
17 lines
354 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace QuantConnect.Api
|
|
{
|
|
/// <summary>
|
|
/// Response from reading purchased data
|
|
/// </summary>
|
|
public class Link : RestResponse
|
|
{
|
|
/// <summary>
|
|
/// Link to the data
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "link")]
|
|
public string DataLink { get; set; }
|
|
}
|
|
}
|