Xa-el / FootyFriends

2 stars 3 forks source link

Player PFP API #24

Open AntonCSalvador opened 4 months ago

AntonCSalvador commented 4 months ago

Efficient Retrieval of Player Profile Pictures

Description

We need a sustainable solution to fetch player profile pictures without storing them locally on our server. This would ensure we always display updated images without excessive data handling or storage overhead. The API for live scores doesn't support player PFP

Problem Statement

Currently, we lack an efficient method to manage player profile pictures. Storing images locally isn't feasible due to the dynamic nature of player transfers and updates. The alternatives we're considering include:

Requested Action

We need to investigate and decide on the most efficient method to implement this feature:

  1. Research potential APIs that offer access to player profile images.
  2. Evaluate the feasibility of web scraping as an alternative, considering its efficiency and legal implications.

Expected Outcome

Identify a solution that:

Considerations

Conclusion

This feature is crucial for enhancing the user experience by ensuring that player profiles always have current and high-quality images. Input from the team on potential solutions or existing service providers is highly welcomed.