Skip to content

Added gameType and more modifiers#6

Open
conrmahr wants to merge 3 commits intojbkuczma:masterfrom
conrmahr:games-parameter-modifiers
Open

Added gameType and more modifiers#6
conrmahr wants to merge 3 commits intojbkuczma:masterfrom
conrmahr:games-parameter-modifiers

Conversation

@conrmahr
Copy link
Copy Markdown
Contributor

@conrmahr conrmahr commented May 5, 2019

  • Be able to call gameType in the schedule API with additional modifiers.

  • Be able to call all games without filtering by one team with teamId.

  • Tested with the following code

nhl.games.games({ date: '2019-05-04', gameType: 'P' }).then(data => {
	const playoffs = data
	console.log(playoffs)
})

@conrmahr
Copy link
Copy Markdown
Contributor Author

conrmahr commented May 5, 2019

nextGame() test fails because Buffalo has no schedule games to play. 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant