Metadata-Version: 2.4
Name: quickapicall
Version: 0.1.8
Summary: Lightweight API caller with built-in error handling
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: requests

# api_call

A lightweight Python library for making API calls with built-in error handling.



## Installation

```bash
pip install quickapicall
```

## PyPI

https://pypi.org/project/quickapicall/

## Usage

```python
from main import Api

run = Api("https://jsonplaceholder.typicode.com/posts/1")
run.api_call()
```

## Features

- Makes GET requests to any API endpoint
- Handles connection errors, timeouts, and HTTP errors automatically
- Displays title and body from JSON response

## Error Handling

- No internet connection → clear message
- Request timeout → clear message  
- HTTP error (4xx, 5xx) → error code displayed

## License

MIT
