This repository contains my hands-on learning projects using REST APIs in Python. Each script or notebook showcases a different concept or skill—ranging from data fetching and processing to visualization and image manipulation. The work integrates popular libraries like requests, pandas, matplotlib, and more.
| File | Description |
|---|---|
bitcoin_script.py |
Uses the CoinGecko API to fetch and display Bitcoin price data. |
GDP_analysis.py |
Fetches GDP data from an API and visualizes trends using matplotlib. |
RandomUser.ipynb |
Fetches random user data from the RandomUser API and performs data analysis with pandas. |
WebScraping.ipynb |
Demonstrates web scraping techniques: extracting site and Wikipedia data, downloading and manipulating images from URLs using Pillow. |
DataProcessing.ipynb |
Shows how to create JSON and XML files from Python objects and read them back into pandas for structured data analysis. |
os,shutil,datetime,random,collections.Counter
requests– For sending HTTP requestsBeautifulSoup– For parsing HTML and XML documentsrandomuser– RandomUser API integrationpycoingecko– CoinGecko cryptocurrency API wrapper
pandas– For data manipulation and analysisjson,xml.etree.ElementTree– For working with JSON and XML datare– Regular expressions for pattern matching
matplotlib.pyplot– For plotting data in graphs
PIL (Pillow)– For image enhancement and manipulationIPython.display– For displaying content (images, iframes) in notebooks
Clone the repo and open the .py files or notebooks in Jupyter or any Python IDE.