Skip to content

Vernon-codes/API_Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 API Projects using Python

A collection of API projects demonstrating API integration, data fetching, and processing using Python.
This repository showcases my journey into working with APIs and handling real-world data programmatically.


📌 Overview

This repository contains multiple API-based projects performed using Python. Each project demonstrates how to fetch data from public APIs, process it, and present it in a structured format using requests and other Python libraries.

Key tasks performed include:

  • Making GET and POST requests to APIs
  • Handling API responses and parsing JSON
  • Extracting, cleaning, and transforming data
  • Saving API data to CSV/JSON
  • Error handling and managing missing or unexpected data

📁 Project Structure

api_projects/
│
├── data/
│ ├── raw/ # Raw API responses saved as JSON/CSV
│
├── projects/
│ ├── weather_api/ # Mini project: Fetch weather data for multiple cities
│ ├── joke_api/ # Mini project: Random jokes generator
│ ├── cryto_api/ # Mini project: Fetch quotes from API
│ └── ... # More API projects
│
├── requirements.txt # Python libraries needed
└── README.md

🔎 Projects Included

Project Description
Weather API Fetch real-time weather data for multiple cities and save it in CSV/JSON
Joke API Generate random jokes from an API and display them in the console
Cryptocurrency API Fetch live cryptocurrency prices and trends

(More API projects will be added in the future)


🔧 Analysis Tasks Performed

  • ✅ Connected to various public APIs using requests
  • ✅ Parsed JSON responses into Python data structures
  • ✅ Handled missing or inconsistent API data
  • ✅ Saved outputs in CSV or JSON for later analysis
  • ✅ Implemented loops for multiple API requests (pagination, batch requests)
  • ✅ Documented each project clearly with comments

🚀 Getting Started

1. Clone the repository

git clone https://github.com/your-username/api_projects.git
cd api_projects

2. Install Dependencies

pip install -r requirements.txt

3. Run a Project

python file_name.py

🛠 Tools Used

  • Python 3.x

  • requests for API calls

  • pandas & json for data processing

  • Jupyter Notebook / Python scripts

🧠 Learnings

  • How to authenticate and interact with public APIs

  • Parsing and handling JSON data efficiently

  • Data cleaning and storage for further use

  • Error handling for API failures or missing data

  • Building mini-projects for practical coding experience

📈 Future Improvements

  • Add more API projects (Finance, Sports, Music, Social Media APIs)

  • Automate API calls and scheduling using Python scripts

  • Integrate APIs with visualization dashboards using Plotly/Streamlit

  • Handle API rate limits and pagination more effectively

👥 Contributors

Name GitHub Profile
Vernon Isaac Alva @Vernon-codes

📄 License

  • This project is licensed under the MIT License

📬 Contact

If you have any questions, feel free to reach out:

GitHub: https://github.com/Vernon-codes/

LinkedIn: https://www.linkedin.com/in/vernon-alva-8677b523a/

Email: codewithvernon@gmail.com

🙌 Contributing

Contributions are welcome! Please fork this repository, make your changes, and submit a pull request.

⭐ Support

If you find this project helpful, please give it a star on GitHub ⭐

About

This repo contains all the API Projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages