/// <summary> /// Gets information about the project matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response from the Toggl API.</returns> /// <see> /// <cref>https://github.com/toggl/toggl_api_docs/blob/master/chapters/projects.md#get-project-data</cref> /// </see> public IHttpResponse GetProject(TogglGetProjectOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.GetResponse(options)); }
/// <summary> /// Gets information about the project matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="TogglProjectResponse"/> representing the response from the Toggl API.</returns> /// <see> /// <cref>https://github.com/toggl/toggl_api_docs/blob/master/chapters/projects.md#get-project-data</cref> /// </see> public TogglProjectResponse GetProject(TogglGetProjectOptions options) { return(new TogglProjectResponse(Raw.GetProject(options))); }