You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

yeonjae-universal-http-api-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yeonjae-universal-http-api-client

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

1.0.5
pipPyPI
Maintainers
1

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

Keywords

http

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts