Skip to main content

Universal HTTP API client supporting GitHub, GitLab, Bitbucket and other platforms

Project description

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

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

yeonjae_universal_http_api_client-1.0.5.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file yeonjae_universal_http_api_client-1.0.5.tar.gz.

File metadata

File hashes

Hashes for yeonjae_universal_http_api_client-1.0.5.tar.gz
Algorithm Hash digest
SHA256 232649c49ea147324624bfb316f9faedb62f109062a34b44deeeaafd3adc8d82
MD5 c1f579956923332a88a65d071101c061
BLAKE2b-256 6827be46acfb6f971f5d83fda46b8ce684d0fa2ad62c553e19ef0c0be32f8ca6

See more details on using hashes here.

File details

Details for the file yeonjae_universal_http_api_client-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for yeonjae_universal_http_api_client-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ebfe2ba0b82ba8e5842bd8534ef100027277d48350fc802bf01e1df83996cbb8
MD5 b4dfc2d2320d78d3fca6ac4b0cb4e1d8
BLAKE2b-256 0cc85efc21121cde61d4da08f96a4a04b803209bbde1a0d555c34f8f88b5121b

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