Skip to main content

No project description provided

Project description

Simple API Manipulator

Main class is APIManager which have two methods:
request_get(endpoint [, headers])
request_post(endpoint [, data, headers])

Usage

```python from api_manager import APIManager

manager = APIManager("EXAMPLE_URL")

response = manager.request_get("ENDPOINT") # returns request.Response object

response_post = manager.request_post("ENDPOINT", data={"number":20}, headers={ "Content-Type" : "text/json" }) # returns request.Response object

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apimanager_dm_2024-0.1.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

APIManager_DM_2024-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file apimanager_dm_2024-0.1.0.tar.gz.

File metadata

  • Download URL: apimanager_dm_2024-0.1.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for apimanager_dm_2024-0.1.0.tar.gz
Algorithm Hash digest
SHA256 afaa595f1b6a7d3a34b47ba6b961360370465f334ce2692fd1cd947e45438e92
MD5 27029efaec08f286231327c776feaddc
BLAKE2b-256 b240e41600e8d3f5b91b2ccfca0255d34964105b3d222e98dd4d21219ec19dd2

See more details on using hashes here.

File details

Details for the file APIManager_DM_2024-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for APIManager_DM_2024-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 765659ec3616307db6ca0c1be8655cd0c8d5be3e6b084d0d29f1e4d89b1fc818
MD5 8748f376298ac63bef6e1e2126b57710
BLAKE2b-256 912788a9d9e0aac6173b45510d96de11c2bcca4c9d40a75a4257a280a933ad66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page