https://github.com/openpeeps/paddle-nim
[WIP] Paddle API Client for Nim lang
https://github.com/openpeeps/paddle-nim
api billing client nim openpeeps-api openpeeps-clients paddle paddle-client paddle-payments payment payments
Last synced: 3 days ago
JSON representation
[WIP] Paddle API Client for Nim lang
- Host: GitHub
- URL: https://github.com/openpeeps/paddle-nim
- Owner: openpeeps
- Created: 2025-08-11T13:48:46.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2026-05-05T08:46:44.000Z (about 1 month ago)
- Last Synced: 2026-05-05T10:30:08.260Z (about 1 month ago)
- Topics: api, billing, client, nim, openpeeps-api, openpeeps-clients, paddle, paddle-client, paddle-payments, payment, payments
- Language: Nim
- Homepage: https://openpeeps.github.io/paddle-nim/
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Paddle API Client for 👑 Nim language
nimble install paddle
## 😍 Key Features
- Asynchronous API calls using Nim's `async`/`await`
- Direct-to-object mapping of Paddle API responses to Nim types
- Idiomatic Nim API client for the [Paddle API](https://developer.paddle.com/)
## Examples
```nim
import paddle
let client = initPaddleClient("pdl_sdbx_apikey_")
# create your Paddle product
let product = await client.postProduct("My Product", some("A great product"))
# add a price to your product
let price = await client.postPrice(
productId = product.id,
name = "Standard Plan",
description = "The standard plan for my product",
billingCycle = paddle.initBillingCycle(PaddleBillingInterval.month, 1),
unitPrice = initPrice("1000", EUR)
)
```
### TODO
- [ ] Use `pkg/money` for price fields instead of strings
- [ ] Add more API endpoints (subscriptions, coupons, etc.)
- [ ] Use `pkg/openparser` dump hooks, skip fields, etc. to reduce use of `JsonNode` nodes (once implemented lol)
- [ ] Add support for webhooks and events
- [ ] Add more examples and documentation
- [ ] Add unit tests
### ❤ Contributions & Support
- 🐛 Found a bug? [Create a new Issue](https://github.com/openpeeps/paddle-nim/issues)
- 👋 Wanna help? [Fork it!](https://github.com/openpeeps/paddle-nim/fork)
- 😎 [Get €20 in cloud credits from Hetzner](https://hetzner.cloud/?ref=Hm0mYGM9NxZ4)
### 🎩 License
MIT license. [Made by Humans from OpenPeeps](https://github.com/openpeeps).
Copyright OpenPeeps & Contributors — All rights reserved.