A client object for accessing the Soccermetrics REST API.
Attribute | Description |
---|---|
root | Service root |
link | Link to resources |
validation | Validation resources |
players | Players resource |
managers | Managers resource |
referees | Referees resource |
club | Club match resources |
natl | Nat’l team match resources |
analytics | Match analytics resources |
Parameters: |
|
---|
Search for API credentials in current environment.
Looks for SOCCERMETRICS_APP_ID and SOCCERMETRICS_APP_KEY among the environment variables. Returns a (None, None) tuple if neither variable is not present in the environment.
Returns: | (account, api_key) or (None, None) |
---|