Skip to content

⚽ | An API to calculate the performance of the top and bottom teams in the Bundesliga for the 2023/24 season.

Notifications You must be signed in to change notification settings

matheusgb/bundesliga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Leverkusen and Darmstadt
Bundesliga

Client API made with TypeScript.

typescript

Key FeaturesHow To UseDocumentation

Key Features

  • Football-data API
  • Unit tests
  • Functional test
  • Data Sanitization
  • Performance calculation for the first and last place in the Bundesliga season 2023/24

How To Use

You must obtain the authentication token by creating an account on football-data API.

After that, you must update the values ​​of the config/default.json and config/test.json.

To local run:

yarn install && yarn start:local

You can run tests with:

yarn test:unit
yarn test:functional

Documentation

GET - /standings

Response:

[
	{
		"position": 1,
		"team": {
			"name": "Bayer 04 Leverkusen",
			"crest": "https://crests.football-data.org/3.png"
		},
		"playedGames": 34,
		"won": 28,
		"draw": 6,
		"lost": 0,
		"points": 90,
		"performance": 88.24
	},
	{
		"position": 18,
		"team": {
			"name": "SV Darmstadt 98",
			"crest": "https://crests.football-data.org/55.png"
		},
		"playedGames": 34,
		"won": 3,
		"draw": 8,
		"lost": 23,
		"points": 17,
		"performance": 16.67
	}
]

About

⚽ | An API to calculate the performance of the top and bottom teams in the Bundesliga for the 2023/24 season.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published