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 universal-http-api-client

Quick Start

from 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.1.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.1.tar.gz.

File metadata

File hashes

Hashes for yeonjae_universal_http_api_client-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ab29c3b9008a72eed888b8010106e360bdd1e7d270807cd07a22346b2d8eacee
MD5 e938e424c0b7fd5dd1b27aa4cedfa3f3
BLAKE2b-256 ab65382bf34801e5754a90928f882871e1dd8f3bb0761ed82096be3b80cca15e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yeonjae_universal_http_api_client-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e12823c4f3383af6a085a3f465a2edacea15aa57d4e271f889f952aa297e9c9
MD5 7e3f8c96294c6ac2e846756c97c1642f
BLAKE2b-256 28aae91b4a78c2ee8ec36a06646af82c33a7a2a6817989238ef2337f1b7f879d

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