Welcome to the AI Sports Analytics repository! This project is dedicated to providing the latest insights and visualizations for baseball and basketball, leveraging data from PTT and advanced AI tools.
AI Sports Analytics is an Instagram account and analytical platform that collects data from PTT, performs thorough analysis, and creates detailed visualizations to provide the latest insights in baseball and basketball. Using advanced AI tools, we summarize complex data into easy-to-understand content.
- Data Collection: Automated data scraping from PTT for baseball and basketball.
- Analysis: Advanced AI tools to analyze collected data.
- Visualization: Create informative and visually appealing data visualizations.
- Summarization: Generate concise and insightful summaries of the analysis.
- Instagram Integration: Share visualizations and insights directly to our Instagram account.
To set up the project locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/beccalzh/ai-sports-analytics.git cd ai-sports-analytics
-
Install Dependencies:
Ensure you have Python and pip installed. Then run:
pip install -r requirements.txt
-
Set Up Environment Variables:
Create a
.env
file in the project root and add the necessary environment variables, such as API keys and database configurations. -
Run the Application:
python main.py
-
Data Collection:
Run the data collection script to fetch the latest data from PTT:
python scripts/data_collection.py
-
Data Analysis:
Perform analysis on the collected data:
python scripts/data_analysis.py
-
Generate Visualizations:
Create visualizations from the analyzed data:
python scripts/data_visualization.py
-
Post to Instagram:
Automatically post the generated visualizations to Instagram:
python scripts/post_to_instagram.py
We welcome contributions to the AI Sports Analytics project! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Create a new Pull Request.
Please ensure your code follows our coding guidelines and includes appropriate tests.
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or feedback, please contact us at:
- Email: [email protected]
- Instagram: @aisportsanalytics
Thank you for visiting our repository!