Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
toddrob99
MLB-StatsAPI
Repository navigation
Code
Issues
7
(7)
Pull requests
2
(2)
Actions
Projects
Wiki
Security and quality
Insights
More
items
Function: next_game
Jump to bottom
Todd Roberts edited this page
Jul 9, 2021
·
2 revisions
Get the gamePk for the given team's next unstarted game.
statsapi.next_game(teamId)
Wiki pages
Pages
32
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
All Functions
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Endpoints
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Examples
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: boxscore
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: boxscore_data
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: game_highlight_data
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: game_highlights
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: game_pace
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: game_pace_data
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: game_scoring_play_data
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: game_scoring_plays
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: get
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: last_game
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: latest_season
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: league_leader_data
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: league_leaders
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: linescore
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: lookup_player
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: lookup_team
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: meta
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: next_game
Get the gamePk for the given team's next unstarted game.
Loading
Function: notes
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: player_stat_data
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: player_stats
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: roster
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: schedule
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: standings
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: standings_data
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: team_leader_data
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Function: team_leaders
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Python 2 Support
Uh oh!
There was an error while loading.
Please reload this page
.
Show 17 more pages…
Clone this wiki locally
You can’t perform that action at this time.