-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
139 changed files
with
531 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# CFBSharp.Model.FieldGoalExpectedPoints | ||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**YardsToGoal** | **int?** | | [optional] | ||
**Distance** | **int?** | | [optional] | ||
**ExpectedPoints** | **decimal?** | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* | ||
* This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. | ||
* | ||
* OpenAPI spec version: 4.5.1 | ||
* OpenAPI spec version: 4.5.2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* | ||
* This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. | ||
* | ||
* OpenAPI spec version: 4.5.1 | ||
* OpenAPI spec version: 4.5.2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* | ||
* This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. | ||
* | ||
* OpenAPI spec version: 4.5.1 | ||
* OpenAPI spec version: 4.5.2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* | ||
* This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. | ||
* | ||
* OpenAPI spec version: 4.5.1 | ||
* OpenAPI spec version: 4.5.2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* | ||
* This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. | ||
* | ||
* OpenAPI spec version: 4.5.1 | ||
* OpenAPI spec version: 4.5.2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* | ||
* This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. | ||
* | ||
* OpenAPI spec version: 4.5.1 | ||
* OpenAPI spec version: 4.5.2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* | ||
* This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. | ||
* | ||
* OpenAPI spec version: 4.5.1 | ||
* OpenAPI spec version: 4.5.2 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
*/ | ||
|
@@ -25,6 +25,25 @@ public interface IMetricsApi : IApiAccessor | |
{ | ||
#region Synchronous Operations | ||
/// <summary> | ||
/// Field Goal Expected Points | ||
/// </summary> | ||
/// <remarks> | ||
/// Field Goal Expected Poitns | ||
/// </remarks> | ||
/// <exception cref="CFBSharp.Client.ApiException">Thrown when fails to make API call</exception> | ||
/// <returns>ICollection<FieldGoalExpectedPoints></returns> | ||
ICollection<FieldGoalExpectedPoints> GetFGEP (); | ||
|
||
/// <summary> | ||
/// Field Goal Expected Points | ||
/// </summary> | ||
/// <remarks> | ||
/// Field Goal Expected Poitns | ||
/// </remarks> | ||
/// <exception cref="CFBSharp.Client.ApiException">Thrown when fails to make API call</exception> | ||
/// <returns>ApiResponse of ICollection<FieldGoalExpectedPoints></returns> | ||
ApiResponse<ICollection<FieldGoalExpectedPoints>> GetFGEPWithHttpInfo (); | ||
/// <summary> | ||
/// Team Predicated Points Added (PPA/EPA) by game | ||
/// </summary> | ||
/// <remarks> | ||
|
@@ -224,6 +243,25 @@ public interface IMetricsApi : IApiAccessor | |
#endregion Synchronous Operations | ||
#region Asynchronous Operations | ||
/// <summary> | ||
/// Field Goal Expected Points | ||
/// </summary> | ||
/// <remarks> | ||
/// Field Goal Expected Poitns | ||
/// </remarks> | ||
/// <exception cref="CFBSharp.Client.ApiException">Thrown when fails to make API call</exception> | ||
/// <returns>Task of ICollection<FieldGoalExpectedPoints></returns> | ||
System.Threading.Tasks.Task<ICollection<FieldGoalExpectedPoints>> GetFGEPAsync (); | ||
|
||
/// <summary> | ||
/// Field Goal Expected Points | ||
/// </summary> | ||
/// <remarks> | ||
/// Field Goal Expected Poitns | ||
/// </remarks> | ||
/// <exception cref="CFBSharp.Client.ApiException">Thrown when fails to make API call</exception> | ||
/// <returns>Task of ApiResponse (ICollection<FieldGoalExpectedPoints>)</returns> | ||
System.Threading.Tasks.Task<ApiResponse<ICollection<FieldGoalExpectedPoints>>> GetFGEPAsyncWithHttpInfo (); | ||
/// <summary> | ||
/// Team Predicated Points Added (PPA/EPA) by game | ||
/// </summary> | ||
/// <remarks> | ||
|
@@ -520,6 +558,137 @@ public void AddDefaultHeader(string key, string value) | |
this.Configuration.AddDefaultHeader(key, value); | ||
} | ||
|
||
/// <summary> | ||
/// Field Goal Expected Points Field Goal Expected Poitns | ||
/// </summary> | ||
/// <exception cref="CFBSharp.Client.ApiException">Thrown when fails to make API call</exception> | ||
/// <returns>ICollection<FieldGoalExpectedPoints></returns> | ||
public ICollection<FieldGoalExpectedPoints> GetFGEP () | ||
{ | ||
ApiResponse<ICollection<FieldGoalExpectedPoints>> localVarResponse = GetFGEPWithHttpInfo(); | ||
return localVarResponse.Data; | ||
} | ||
|
||
/// <summary> | ||
/// Field Goal Expected Points Field Goal Expected Poitns | ||
/// </summary> | ||
/// <exception cref="CFBSharp.Client.ApiException">Thrown when fails to make API call</exception> | ||
/// <returns>ApiResponse of ICollection<FieldGoalExpectedPoints></returns> | ||
public ApiResponse< ICollection<FieldGoalExpectedPoints> > GetFGEPWithHttpInfo () | ||
{ | ||
|
||
var localVarPath = "./metrics/fg/ep"; | ||
var localVarPathParams = new Dictionary<String, String>(); | ||
var localVarQueryParams = new List<KeyValuePair<String, String>>(); | ||
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader); | ||
var localVarFormParams = new Dictionary<String, String>(); | ||
var localVarFileParams = new Dictionary<String, FileParameter>(); | ||
Object localVarPostBody = null; | ||
|
||
// to determine the Content-Type header | ||
String[] localVarHttpContentTypes = new String[] { | ||
}; | ||
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); | ||
|
||
// to determine the Accept header | ||
String[] localVarHttpHeaderAccepts = new String[] { | ||
"application/json" | ||
}; | ||
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); | ||
if (localVarHttpHeaderAccept != null) | ||
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); | ||
|
||
|
||
// authentication (ApiKeyAuth) required | ||
if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) | ||
{ | ||
localVarHeaderParams["Authorization"] = this.Configuration.GetApiKeyWithPrefix("Authorization"); | ||
} | ||
|
||
// make the HTTP request | ||
IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, | ||
Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, | ||
localVarPathParams, localVarHttpContentType); | ||
|
||
int localVarStatusCode = (int) localVarResponse.StatusCode; | ||
|
||
if (ExceptionFactory != null) | ||
{ | ||
Exception exception = ExceptionFactory("GetFGEP", localVarResponse); | ||
if (exception != null) throw exception; | ||
} | ||
|
||
return new ApiResponse<ICollection<FieldGoalExpectedPoints>>(localVarStatusCode, | ||
localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), | ||
(ICollection<FieldGoalExpectedPoints>) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<FieldGoalExpectedPoints>))); | ||
} | ||
|
||
/// <summary> | ||
/// Field Goal Expected Points Field Goal Expected Poitns | ||
/// </summary> | ||
/// <exception cref="CFBSharp.Client.ApiException">Thrown when fails to make API call</exception> | ||
/// <returns>Task of ICollection<FieldGoalExpectedPoints></returns> | ||
public async System.Threading.Tasks.Task<ICollection<FieldGoalExpectedPoints>> GetFGEPAsync () | ||
{ | ||
ApiResponse<ICollection<FieldGoalExpectedPoints>> localVarResponse = await GetFGEPAsyncWithHttpInfo(); | ||
return localVarResponse.Data; | ||
|
||
} | ||
|
||
/// <summary> | ||
/// Field Goal Expected Points Field Goal Expected Poitns | ||
/// </summary> | ||
/// <exception cref="CFBSharp.Client.ApiException">Thrown when fails to make API call</exception> | ||
/// <returns>Task of ApiResponse (ICollection<FieldGoalExpectedPoints>)</returns> | ||
public async System.Threading.Tasks.Task<ApiResponse<ICollection<FieldGoalExpectedPoints>>> GetFGEPAsyncWithHttpInfo () | ||
{ | ||
|
||
var localVarPath = "./metrics/fg/ep"; | ||
var localVarPathParams = new Dictionary<String, String>(); | ||
var localVarQueryParams = new List<KeyValuePair<String, String>>(); | ||
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader); | ||
var localVarFormParams = new Dictionary<String, String>(); | ||
var localVarFileParams = new Dictionary<String, FileParameter>(); | ||
Object localVarPostBody = null; | ||
|
||
// to determine the Content-Type header | ||
String[] localVarHttpContentTypes = new String[] { | ||
}; | ||
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); | ||
|
||
// to determine the Accept header | ||
String[] localVarHttpHeaderAccepts = new String[] { | ||
"application/json" | ||
}; | ||
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); | ||
if (localVarHttpHeaderAccept != null) | ||
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); | ||
|
||
|
||
// authentication (ApiKeyAuth) required | ||
if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) | ||
{ | ||
localVarHeaderParams["Authorization"] = this.Configuration.GetApiKeyWithPrefix("Authorization"); | ||
} | ||
|
||
// make the HTTP request | ||
IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, | ||
Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, | ||
localVarPathParams, localVarHttpContentType); | ||
|
||
int localVarStatusCode = (int) localVarResponse.StatusCode; | ||
|
||
if (ExceptionFactory != null) | ||
{ | ||
Exception exception = ExceptionFactory("GetFGEP", localVarResponse); | ||
if (exception != null) throw exception; | ||
} | ||
|
||
return new ApiResponse<ICollection<FieldGoalExpectedPoints>>(localVarStatusCode, | ||
localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), | ||
(ICollection<FieldGoalExpectedPoints>) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<FieldGoalExpectedPoints>))); | ||
} | ||
|
||
/// <summary> | ||
/// Team Predicated Points Added (PPA/EPA) by game Predicted Points Added (PPA) by game | ||
/// </summary> | ||
|
Oops, something went wrong.