Skip to main content

Fake Store API Wrapper

Overview

The Fake Store API Wrapper is a Python library designed to simplify interaction with the Fake Store API. It provides a convenient interface for making API requests, handling responses, and processing data.

Features

  • Easy-to-use interface for accessing Fake Store API endpoints.
  • Support for retrieving products, categories, and cart data.
  • Flexible parameter options for customizing API requests.
  • JSON and XML response format support.

Installation

You can install the Fake Store API Wrapper using pip:

pip install -i https://test.pypi.org/simple/ fake-store-api-wrapper-jopgood

Usage

Here's a basic example of how to use the Fake Store API Wrapper:

from fake_store_api_wrapper import FakeStoreAPI

# Create an instance of the API wrapper
api = FakeStoreAPI()

# Retrieve products in a specific category
products = api.products(category="jewelry", sort="asc", limit=10)
print("Products:", products)

# Retrieve carts in a specific date range
carts = api.carts(start_date="2019-02-05", end_date="2019-03-01", sort="asc", limit=10)
print("Carts:", carts)

For more detailed usage examples and API documentation, refer to the documentation.

Contributing

Contributions are welcome! If you'd like to contribute to the Fake Store API Wrapper, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/my-feature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/my-feature).
  6. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

Support

If you encounter any issues or have questions about the Fake Store API Wrapper, please open an issue on GitHub.

Metadata

Release files for fake-store-api-wrapper-jopgood 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fake-store-api-wrapper-jopgood 0.3
File Size Uploaded
fake_store_api_wrapper_jopgood-0.3.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fake-store-api-wrapper-jopgood 0.3
File Interpreter ABI Platform
fake_store_api_wrapper_jopgood-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / fake_store_api_wrapper_jopgood-0.3.tar.gz

Download URL fake_store_api_wrapper_jopgood-0.3.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aadb49000e3699251720d72e0dac03db1857103f5c22525fcacb41c282af8c29
BLAKE2b-256 checksum
How to use checksums
c83f4d54ffad75c53e56cf787091f284bfe58720ac401743aeb0c167b5f84ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Release files / fake_store_api_wrapper_jopgood-0.3-py3-none-any.whl

Download URL fake_store_api_wrapper_jopgood-0.3-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c773133d1ad390344abaa627ff376a10ce77324bfd910946778afd3ba32d763
BLAKE2b-256 checksum
How to use checksums
6bf07a7fdbc0b66cd36248b923e52b77691824ec0563914e18eba9c4a6ce5726
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page