-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
256 changed files
with
674 additions
and
386 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# cfb.FieldGoalExpectedPoints | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**yardsToGoal** | **Number** | | [optional] | ||
**distance** | **Number** | | [optional] | ||
**expectedPoints** | **Number** | | [optional] | ||
|
||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -33,7 +33,7 @@ | |
|
||
/** | ||
* @module ApiClient | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Betting service. | ||
* @module api/BettingApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Coaches service. | ||
* @module api/CoachesApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Conferences service. | ||
* @module api/ConferencesApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Draft service. | ||
* @module api/DraftApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Drives service. | ||
* @module api/DrivesApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Games service. | ||
* @module api/GamesApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -17,24 +17,24 @@ | |
(function(root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['ApiClient', 'model/GamePPA', 'model/PlayWP', 'model/PlayerGamePPA', 'model/PlayerSeasonPPA', 'model/PredictedPoints', 'model/PregameWP', 'model/TeamPPA'], factory); | ||
define(['ApiClient', 'model/FieldGoalExpectedPoints', 'model/GamePPA', 'model/PlayWP', 'model/PlayerGamePPA', 'model/PlayerSeasonPPA', 'model/PredictedPoints', 'model/PregameWP', 'model/TeamPPA'], factory); | ||
} else if (typeof module === 'object' && module.exports) { | ||
// CommonJS-like environments that support module.exports, like Node. | ||
module.exports = factory(require('../ApiClient'), require('../model/GamePPA'), require('../model/PlayWP'), require('../model/PlayerGamePPA'), require('../model/PlayerSeasonPPA'), require('../model/PredictedPoints'), require('../model/PregameWP'), require('../model/TeamPPA')); | ||
module.exports = factory(require('../ApiClient'), require('../model/FieldGoalExpectedPoints'), require('../model/GamePPA'), require('../model/PlayWP'), require('../model/PlayerGamePPA'), require('../model/PlayerSeasonPPA'), require('../model/PredictedPoints'), require('../model/PregameWP'), require('../model/TeamPPA')); | ||
} else { | ||
// Browser globals (root is window) | ||
if (!root.cfb) { | ||
root.cfb = {}; | ||
} | ||
root.cfb.MetricsApi = factory(root.cfb.ApiClient, root.cfb.GamePPA, root.cfb.PlayWP, root.cfb.PlayerGamePPA, root.cfb.PlayerSeasonPPA, root.cfb.PredictedPoints, root.cfb.PregameWP, root.cfb.TeamPPA); | ||
root.cfb.MetricsApi = factory(root.cfb.ApiClient, root.cfb.FieldGoalExpectedPoints, root.cfb.GamePPA, root.cfb.PlayWP, root.cfb.PlayerGamePPA, root.cfb.PlayerSeasonPPA, root.cfb.PredictedPoints, root.cfb.PregameWP, root.cfb.TeamPPA); | ||
} | ||
}(this, function(ApiClient, GamePPA, PlayWP, PlayerGamePPA, PlayerSeasonPPA, PredictedPoints, PregameWP, TeamPPA) { | ||
}(this, function(ApiClient, FieldGoalExpectedPoints, GamePPA, PlayWP, PlayerGamePPA, PlayerSeasonPPA, PredictedPoints, PregameWP, TeamPPA) { | ||
'use strict'; | ||
|
||
/** | ||
* Metrics service. | ||
* @module api/MetricsApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
@@ -49,6 +49,51 @@ | |
|
||
|
||
|
||
/** | ||
* Field Goal Expected Points | ||
* Field Goal Expected Poitns | ||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FieldGoalExpectedPoints>} and HTTP response | ||
*/ | ||
this.getFGEPWithHttpInfo = function() { | ||
var postBody = null; | ||
|
||
|
||
var pathParams = { | ||
}; | ||
var queryParams = { | ||
}; | ||
var collectionQueryParams = { | ||
}; | ||
var headerParams = { | ||
}; | ||
var formParams = { | ||
}; | ||
|
||
var authNames = ['ApiKeyAuth']; | ||
var contentTypes = []; | ||
var accepts = ['application/json']; | ||
var returnType = [FieldGoalExpectedPoints]; | ||
|
||
return this.apiClient.callApi( | ||
'/metrics/fg/ep', 'GET', | ||
pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, | ||
authNames, contentTypes, accepts, returnType | ||
); | ||
} | ||
|
||
/** | ||
* Field Goal Expected Points | ||
* Field Goal Expected Poitns | ||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FieldGoalExpectedPoints>} | ||
*/ | ||
this.getFGEP = function() { | ||
return this.getFGEPWithHttpInfo() | ||
.then(function(response_and_data) { | ||
return response_and_data.data; | ||
}); | ||
} | ||
|
||
|
||
/** | ||
* Team Predicated Points Added (PPA/EPA) by game | ||
* Predicted Points Added (PPA) by game | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Players service. | ||
* @module api/PlayersApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Plays service. | ||
* @module api/PlaysApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Rankings service. | ||
* @module api/RankingsApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* College Football Data API | ||
* 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] | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
|
@@ -34,7 +34,7 @@ | |
/** | ||
* Ratings service. | ||
* @module api/RatingsApi | ||
* @version 4.5.1 | ||
* @version 4.5.2 | ||
*/ | ||
|
||
/** | ||
|
Oops, something went wrong.