Skip to main content

Universal HTTP API Client

Universal HTTP API client with platform-specific adapters for GitHub, GitLab, Slack, and Notion.

Features

  • Multi-Platform Support: GitHub, GitLab, Slack, Notion APIs
  • Smart Caching: Automatic request caching with configurable TTL
  • Rate Limiting: Built-in rate limiting with platform-specific rules
  • Error Handling: Comprehensive error handling with custom exceptions
  • Async Support: Full async/await support for all operations
  • Type Safety: Complete type annotations with mypy support

Installation

pip install yeonjae-universal-http-api-client

Quick Start

from yeonjae_universal_http_api_client import HTTPAPIClient, Platform

# GitHub API
client = HTTPAPIClient(Platform.GITHUB, "your-token")
repo = client.get_repository("owner/repo")
client.close()

# Slack API
slack_client = HTTPAPIClient(Platform.SLACK, "your-slack-token")
response = slack_client.send_message("channel", "Hello World!")
slack_client.close()

License

MIT License

Metadata

Release files for yeonjae-universal-http-api-client 1.0.5

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

Source distribution (sdist)

Source distribution for yeonjae-universal-http-api-client 1.0.5
File Size Uploaded
yeonjae_universal_http_api_client-1.0.5.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yeonjae-universal-http-api-client 1.0.5
File Interpreter ABI Platform
yeonjae_universal_http_api_client-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / yeonjae_universal_http_api_client-1.0.5.tar.gz

Download URL yeonjae_universal_http_api_client-1.0.5.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
232649c49ea147324624bfb316f9faedb62f109062a34b44deeeaafd3adc8d82
BLAKE2b-256 checksum
How to use checksums
6827be46acfb6f971f5d83fda46b8ce684d0fa2ad62c553e19ef0c0be32f8ca6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / yeonjae_universal_http_api_client-1.0.5-py3-none-any.whl

Download URL yeonjae_universal_http_api_client-1.0.5-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebfe2ba0b82ba8e5842bd8534ef100027277d48350fc802bf01e1df83996cbb8
BLAKE2b-256 checksum
How to use checksums
0cc85efc21121cde61d4da08f96a4a04b803209bbde1a0d555c34f8f88b5121b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.3

2 release files

1.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