Player Team Stats Queries

The Stats endpoints provide a way to query various stats.

Use case - Retrieve stats for players who had at least 150 career receiving touchdowns.

Field Selector:

{
    player{firstName,lastName},
    receiving{receptions,yards,touchdowns}
}

Query:

{
    "$query":
        {
            "receiving.touchdowns": {"$gte" : 150}
        }
}

Request:

GET  /playerCareerStats?fs={player{firstName,lastName},receiving{receptions,yards,touchdowns}}}&s={"$query":{"receiving.touchdowns":{"$gte" : 150}}}

Response:

{
    "playerCareerStats": {
        "pager": {
        },
        "data": [
            {
                "player": {
                    "firstName": "Jerry",
                    "lastName": "Rice"
                }
                "receiving": {
                            "receptions": 1549,
                            "yards": 22895,
                            "touchdowns": 197
                }
            },
            {
                "player": {
                    "firstName": "Randy",
                    "lastName": "Moss"
                }
                "receiving": {
                            "receptions": 982,
                            "yards": 15292,
                            "touchdowns": 156
                }
            },
            {
                "player": {
                    "firstName": "Terrell",
                    "lastName": "Owens"
                }
                "receiving": {
                            "receptions": 1078,
                            "yards": 15934,
                            "touchdowns": 153
                }
            }
        ]
    }
}