A collection of Python projects created to practice working with APIs, HTTP requests, JSON data, and external services.
Get weather information for a selected city using a weather API. Main concepts:
- requests
- API
- GET
- params
- response
- status_code
- response.json()
- JSON data
Convert an amount from one currency to another using exchange-rate data from an API.
Main concepts:
- Currency API
- requests
- params
- response
- status_code
- JSON
- Dictionary
- Currency conversion
Fetch and display the latest news from an external news API.
Main concepts:
- API requests
- JSON
- requests
- API parameters
- Response handling
Search for a word and get its definition and other information from a dictionary API.
Main concepts:
- API
- JSON
- requests
- Dictionary data
- Response handling
Translate text between languages using a translation API.
Main concepts:
- API requests
- Parameters
- JSON
- Response handling
- External services
- Python
- Requests
- REST API
- JSON
- HTTP
Through these projects, I practice:
- Sending HTTP requests
- Working with REST APIs
- Using GET requests
- Using API parameters
- Handling API responses
- Checking status_code
- Converting JSON data with .json()
- Working with dictionaries and lists
- Extracting information from API responses
- Integrating external services into Python applications
Shahzoda