Boxing Data API Data Structure
To better understand the relationships between the various data points within our API, consider the following diagram:
Key Relationships
-
Fighters, Fights, and Titles: These entities are often interconnected. For instance, a specific fighter might hold a particular title within a certain weight division.
-
Events and Fights: Events, such as boxing cards, are composed of multiple fights. By filtering by event ID, you can retrieve all fights associated with a specific event.
-
Divisions and Entities: Divisions categorize fighters, fights, and titles based on weight class. Filtering by division ID allows you to focus on specific weight classes.
Practical Use Cases
1. Analyzing a Fighter’s Career:
- Step 1: Retrieve the fighter’s ID.
- Step 2: Use the fighter’s ID to fetch a list of their past fights.
- Step 3: Analyze the fight data to gain insights into their performance over time.
2. Tracking Title Changes:
- Step 1: Identify the specific title.
- Step 2: Retrieve a list of fights associated with that title.
- Step 3: Analyze the fight data to track title changes and identify champions.
By understanding these relationships and leveraging the API’s powerful filtering capabilities, you can unlock valuable insights and build innovative applications.