Metadata-Version: 2.1
Name: abstract_apis
Version: 0.0.0.2
Summary: `abstract_apis` is a Python module designed to streamline HTTP request operations by abstracting away common setup procedures and processing details. It provides tools for constructing URLs and handling JSON data serialization automatically, making it easier to integrate API calls in your applications.
Author: putkoff
Author-email: partners@abstractendeavors.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: abstract_utilities
Requires-Dist: requests

---

# Abstract APIs

`abstract_apis` is a Python module designed to streamline HTTP request operations by abstracting away common setup procedures and processing details. It provides tools for constructing URLs and handling JSON data serialization automatically, making it easier to integrate API calls in your applications.

## Features

- Automates the creation and management of headers for JSON requests.
- Ensures JSON data serialization for outgoing requests.
- Provides utility functions to strip characters from strings and construct well-formed endpoints and URLs.
- Simplified functions for making GET and POST requests with optional endpoint concatenation.

## Installation

You can install the `abstract_apis` package directly from PyPI (when available):

```bash
pip install abstract_apis
```

## Usage

### Making a POST Request

To make a POST request to a specific endpoint with JSON data:

```python
from abstract_apis import make_requests

url = "https://api.example.com"
endpoint = "submit"
data = {"key": "value"}
response = make_requests.getPostRequest(url, data, endpoint=endpoint)
print(response)
```

### Making a GET Request

To make a GET request to a specific endpoint with query parameters:

```python
from abstract_apis import make_requests

url = "https://api.example.com"
endpoint = "fetch"
params = {"query": "info"}
response = make_requests.getGetRequest(url, params, endpoint=endpoint)
print(response)
```

## Dependencies

- Python 3.6+
- `requests` library

Ensure you have the `requests` library installed:

```bash
pip install requests
```

## Contributions

Contributions are welcome! Please fork the [repository on GitHub](https://github.com/AbstractEndeavors/abstract_apis) and submit a pull request with your changes.

## License

This project is licensed under the terms of the MIT license.

## Contact

For any queries or collaboration opportunities, please reach out via email at [partners@abstractendeavors.com](mailto:partners@abstractendeavors.com).

---

This README provides an updated overview of your module, focusing on its new functionalities, with clear examples of how to use the extended URL manipulation features. Adjust the content to better fit your full module’s capabilities and documentation standards as needed.
