Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
1
(1)
Actions
Projects
Wiki
Security and quality
Insights
More
items
Function: last_game
Jump to bottom
Todd Roberts edited this page
Jul 9, 2021
·
2 revisions
Get the gamePk for the given team's most recent completed game.
statsapi.last_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
Get the gamePk for the given team's most recent completed game.
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
Uh oh!
There was an error while loading.
Please reload this page
.
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.