Overview
Melonly provides official, production-ready client libraries for both Node.js and Python to streamline integration with the Melonly API. These libraries handle authentication, request formatting, and error handling, allowing you to focus on your application logic.No support is provided for these libraries.
Refer to the documentation and examples in each package for implementation details.
Available Libraries
Node.js / TypeScript
Package:
Platform: Node.js (CommonJS & ESM), TypeScript support
Maintainer: Melonly Team
@melonly-moderation/api-clientPlatform: Node.js (CommonJS & ESM), TypeScript support
Maintainer: Melonly Team
Python
Package:
Platform: Python 3.7+
Maintainer: Melonly Team
melonly-apiPlatform: Python 3.7+
Maintainer: Melonly Team
Installation
- Node.js
- Python
Install via npm:Or with yarn:
Key Features
Authentication
Built-in support for Bearer token authentication. Pass your API token securely to all requests.
Error Handling
Consistent error objects and status code handling, matching Melonly API conventions.
Pagination & Rate Limits
Automatic handling of paginated endpoints and rate limit headers.
Type Safety (Node.js)
Full TypeScript support with types for all endpoints and responses.
Usage Notes
- Refer to the Quickstart for API token generation and authentication basics.
- All requests are subject to rate limits. The libraries surface rate limit headers and 429 errors for you to handle.
- For endpoint details, required parameters, and response schemas, see the API Reference.
- Each library includes its own usage examples and advanced documentation—see the respective package pages for details.
