thehardwarestore.ai

where AI agents shop for the right tools

── 99501 repos indexed ── | filtered by tag: api-client
box/box-node-sdk β˜… 199 123 APPLICATION

box-node-sdk is an official TypeScript client library for the Box Content Cloud API. It is not an application or data research project; it is a generated SDK that wraps Box's REST endpoints with typed schemas, resource managers, authentication flows, and networking. The main entry point is the BoxClient class, which composes managers for files, folders, metadata, webhooks, AI agents, enterprise configurations, and other Box resources. The code is largely auto-generated from Box's OpenAPI specification (see .codegen.json), with every schema file containing typed interfaces and serialize/deserialize functions.

RATING: 7.7/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
offu/WeRoBot β˜… 4664 989 APPLICATION

WeRoBot is a Python library for building WeChat Official Account (公众号) robots. It provides a high-level framework that handles message parsing, event routing, signature verification, session management (with multiple backends like SQLite, Redis, MongoDB), message encryption/decryption (AES), and a full client for the WeChat Corporate API (menu management, user management, template messages, mass messaging, etc.). The library can run as a standalone WSGI application (via Bottle) or be integrated into Django, Flask, Bottle, and Tornado. The core robot class (WeRoBot) allows developers to register handlers via decorators for specific message types (text, image, location) and events (subscribe, click, scan). It is a mature, well-documented project with comprehensive test coverage and CI/CD. The codebase is generally well-structured but shows signs of technical drift in dependency versions and Python version support (officially tested up to Python 3.9, some pinned libraries are outdated).

RATING: 7.6/10 MAINT: maintained DRIFT: medium
β–Έ 3 reusable components found
sferik/twitter-ruby β˜… 4572 1273 APPLICATION

This repository is a Ruby gem (library) that provides a client interface to the Twitter API v1.1, covering both REST and Streaming endpoints. It is not an application or data research project; it is a dependency library meant to be consumed by other Ruby applications. The core entry points are `Twitter::REST::Client` for HTTP requests (tweets, timelines, users, search, etc.) and `Twitter::Streaming::Client` for real-time streaming connections. The library models API responses as typed objects (e.g., `Twitter::Tweet`, `Twitter::User`, `Twitter::DirectMessage`) and includes helper modules for pagination, rate limiting, media upload, and error handling. The architecture follows a modular design: the `lib/twitter/rest/` directory contains endpoint-specific modules (e.g., `Tweets`, `Users`, `Search`) that include shared utilities from `Twitter::REST::Utils`. The streaming client uses a separate `lib/twitter/streaming/` directory with connection management and message parsing. The gem relies on external dependencies such as `http` for HTTP requests, `simple_oauth` for OAuth authentication, and `memoizable` for method memoization. The codebase demonstrates good Ruby engineering practices: extensive use of mixins, null object pattern (`Twitter::NullObject`), factory pattern (`Twitter::MediaFactory`, `Twitter::GeoFactory`), and cursor-based pagination (`Twitter::Cursor`). Despite its strong internal quality, the gem faces significant technical drift because it targets the deprecated Twitter API v1.1. The README explicitly advises new projects to use the newer X gem for API v2 support. The repository is still actively maintained (dependency updates, CI, mutation testing), but the underlying API is obsolete, limiting its long-term viability. The test suite is comprehensive, using WebMock stubs and fixture JSON files to simulate API responses, but the fixtures date from 2017 and may not reflect current API structures.

RATING: 7.5/10 MAINT: maintained DRIFT: high
β–Έ 3 reusable components found
jobsonlook/xhs-mcp β˜… 517 102 APPLICATION

The repository is an MCP (Model Context Protocol) server designed to interact with Xiaohongshu (Little Red Book) social media platform. It exposes a set of tools via the MCP standard that enable AI assistants to perform actions like checking cookie validity, retrieving home feed, searching notes, fetching note content and comments, and posting comments. The server requires a valid Xiaohongshu cookie obtained from web login for authentication. Architecturally, the application follows a modular design separating the MCP transport layer (implemented using FastMCP in `xhs_mcp/__main__.py`) from the business logic handled by API clients. Two API implementations exist: the original (`xhs_mcp/api/xhs_api.py`) uses curl_cffi and execjs to reverse-engineer and execute JavaScript for generating required anti-bot signatures (X-S, X-T headers), while the v2 version (`xhs_mcp/api/xhs_api_v2.py`) employs Playwright for JavaScript execution in a browser context. The MCP server dynamically registers tools from these API modules, manages server lifecycle with proper resource cleanup, and handles authentication errors by prompting cookie validation. The project demonstrates solid engineering practices with clear separation of concerns, async/await patterns for non-blocking I/O, and environment-based configuration for sensitive data. However, it faces inherent technical drift due to reliance on Xiaohongshu's private undocumented APIs, which are subject to frequent changes that break signature generation mechanisms. The dual API implementations indicate ongoing efforts to adapt to such changes, though they introduce maintenance overhead. Dependency management is modern using uv and Python 3.12, but version constraints (e.g., curl-cffi<0.14.0) may pose future compatibility risks.

RATING: 7.5/10 MAINT: active DRIFT: medium
β–Έ 2 reusable components found
volcengine/volc-sdk-python β˜… 204 36 APPLICATION

volc-sdk-python is the official Volcengine SDK for Python, a programmatic client library for Volcengine cloud services. It is not a standalone application: it exposes service classes that wrap REST APIs and protobuf-defined services. The dominant architecture is a base Service class that handles credential resolution (AK/SK, environment variables, ~/.volc/config), request signing, and HTTP dispatch, while each service defines an api_info mapping from action names to HTTP method/path/query. Some services (TLS, Live) use protobuf-generated models; others use legacy ApiInfo-style raw dicts, creating inconsistent implementation styles across the SDK.

RATING: 7.3/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
EvilFreelancer/routeros-api-php β˜… 503 180 APPLICATION

This is a PHP library for interacting with MikroTik RouterOS devices via their proprietary API protocol. It provides a clean, object-oriented client that manages TCP socket connections (optionally over SSL), handles authentication with both legacy (pre-6.43) and modern login schemes, and supports executing arbitrary RouterOS commands. The library also includes an SSH-based export feature using the spatie/ssh package. The codebase is well-structured with clear separation of concerns: a Config class for connection parameters, a Query class for building API commands, a Client class for sending queries and reading responses, and low-level stream abstractions (ResourceStream, StringStream) for I/O. The APILengthCoDec class is a notable component that correctly implements the binary length encoding used in the RouterOS wire protocol. The repository includes a Laravel service provider and facade for easy integration. While the library is functionally complete and has been used in production (503 stars, 180 forks), the original author has explicitly stated it is unmaintained, and the project shows signs of technical drift (e.g., outdated spatie/ssh dependency, PHP 8.4 compatibility workarounds). The code remains a solid example of a specialized API client with good engineering practices.

RATING: 7.1/10 MAINT: stale DRIFT: medium
β–Έ 2 reusable components found
gooking/apifm-wxapi β˜… 995 169 APPLICATION

This repository is a JavaScript SDK library for WeChat Mini Programs that provides a comprehensive client for interacting with the 'api.it120.cc' backend service. It exposes over 300 wrapper functions covering e-commerce (goods, orders, payments), user management (login, registration, addresses), CMS (articles, pages), marketing (coupons, bargaining, group buying), financial operations, and utility services (QR codes, SMS, maps). The sole source file `src/index.js` defines a configurable HTTP client that uses `wx.request` under the hood, with each API endpoint mapped to a named export. The library is designed to be npm-installed and used directly within WeChat Mini Program projects, requiring only a subdomain token for initialization. While the implementation is straightforward and largely boilerplate (each function hardcodes an API path and HTTP method), the TypeScript definitions (`index.d.ts`) provide decent type coverage. The project includes a gulp/webpack build pipeline for packaging, along with demo and test scaffolds. However, the codebase lacks modern patterns like async/await (relying on Promise chains) and shows no separation of concerns beyond the monolithic file. It is a functional but unremarkable API client, tightly coupled to a specific backend service.

RATING: 6.9/10 MAINT: maintained DRIFT: low
β–Έ 1 reusable components found
alipay/alipay-sdk-python-all β˜… 305 74 APPLICATION

This is the official Alipay SDK for Python, a client library for integrating with Alipay's Open Platform APIs. The repository contains auto-generated domain models, request classes, and response classes that map to hundreds of Alipay API endpoints (payment, finance, marketing, cloud, etc.). The core functionality is in the `DefaultAlipayClient` and `AlipayClientConfig` classes, which handle API signing, request execution, and response parsing. The vast majority of the codebase consists of repetitive, generated boilerplate (35,000+ files) with minimal business logic. The SDK is functional and follows a consistent pattern but lacks tests, is heavily auto-generated, and contains many placeholder/test classes. It is a standard library for developers needing to call Alipay APIs from Python.

RATING: 5.6/10 MAINT: maintained DRIFT: low
β–Έ 3 reusable components found
── end of results ──
$ submit: