https://github.com/apiverve/diceroller-api
Dice Roller is a tool for rolling dice using standard RPG notation (XdY format). It supports multiple dice, various die sizes, modifiers, and provides statistics including min, max, average, and theoretical values for gaming and simulations.
https://github.com/apiverve/diceroller-api
android-library api apiverve diceroller dotnet games java nodejs npm-package nuget-package python python-package rest-api
Last synced: 11 days ago
JSON representation
Dice Roller is a tool for rolling dice using standard RPG notation (XdY format). It supports multiple dice, various die sizes, modifiers, and provides statistics including min, max, average, and theoretical values for gaming and simulations.
- Host: GitHub
- URL: https://github.com/apiverve/diceroller-api
- Owner: apiverve
- License: mit
- Created: 2025-12-09T05:59:24.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-02-16T22:29:29.000Z (5 months ago)
- Last Synced: 2026-06-16T07:06:50.086Z (20 days ago)
- Topics: android-library, api, apiverve, diceroller, dotnet, games, java, nodejs, npm-package, nuget-package, python, python-package, rest-api
- Language: C#
- Homepage: https://apiverve.com/marketplace/diceroller?utm_source=github&utm_medium=repo
- Size: 163 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# [Dice Roller API](https://apiverve.com/marketplace/diceroller?utm_source=github&utm_medium=readme)
Dice Roller is a tool for rolling dice using standard RPG notation (XdY format). It supports multiple dice, various die sizes, modifiers, and provides statistics including min, max, average, and theoretical values for gaming and simulations.
The Dice Roller API provides a simple, reliable way to integrate dice roller functionality into your applications. Built for developers who need production-ready dice roller capabilities without the complexity of building from scratch.
**[View API Details →](https://apiverve.com/marketplace/diceroller?utm_source=github&utm_medium=readme)**
[](https://opensource.org/licenses/MIT)
[](https://apiverve.com/marketplace/diceroller?utm_source=github&utm_medium=readme)
[](#)
[](#installation)
**Available on:**
[](https://www.npmjs.com/package/@apiverve/diceroller)
[](https://www.nuget.org/packages/APIVerve.API.DiceRoller)
[](https://pypi.org/project/apiverve-diceroller/)
[](https://rubygems.org/gems/apiverve_diceroller)
[](https://packagist.org/packages/apiverve/diceroller)
[](#-go)
[](https://pub.dev/packages/apiverve_diceroller)
[](#-android-jitpack)
---
## Quick Start
### Using JavaScript
```javascript
async function callDiceRollerAPI() {
try {
const response = await fetch('https://api.apiverve.com/v1/diceroller', {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY_HERE'
}
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error:', error);
}
}
callDiceRollerAPI();
```
### Using cURL
```bash
curl -X GET "https://api.apiverve.com/v1/diceroller?param=value" \
-H "x-api-key: YOUR_API_KEY_HERE"
```
**Get your API key:** [https://apiverve.com](https://apiverve.com)
**📁 For more examples, see the [examples folder](./examples/)**
---
## Installation
Choose your preferred programming language:
### 📦 NPM (JavaScript/Node.js)
```bash
npm install @apiverve/diceroller
```
[**View NPM Package →**](https://www.npmjs.com/package/@apiverve/diceroller) | [**Package Code →**](./npm/)
---
### 🔷 NuGet (.NET/C#)
```bash
dotnet add package APIVerve.API.DiceRoller
```
[**View NuGet Package →**](https://www.nuget.org/packages/APIVerve.API.DiceRoller) | [**Package Code →**](./nuget/)
---
### 🐍 Python (PyPI)
```bash
pip install apiverve-diceroller
```
[**View PyPI Package →**](https://pypi.org/project/apiverve-diceroller/) | [**Package Code →**](./python/)
---
### 💎 Ruby (RubyGems)
```bash
gem install apiverve_diceroller
```
[**View RubyGems Package →**](https://rubygems.org/gems/apiverve_diceroller) | [**Package Code →**](./ruby/)
---
### 🐘 PHP (Packagist)
```bash
composer require apiverve/diceroller
```
[**View Packagist Package →**](https://packagist.org/packages/apiverve/diceroller) | [**Package Code →**](./php/)
---
### 🎯 Dart (pub.dev)
```bash
dart pub add apiverve_diceroller
```
[**View pub.dev Package →**](https://pub.dev/packages/apiverve_diceroller) | [**Package Code →**](./dart/)
---
### 🤖 Android (JitPack)
```gradle
implementation 'com.github.apiverve:diceroller-api:1.0.0'
```
[**Package Code →**](./android/)
---
### 🐹 Go
```bash
go get github.com/apiverve/diceroller-api/go
```
[**Package Code →**](./go/)
---
## Why Use This API?
| Feature | Benefit |
|---------|---------|
| **Multi-language SDKs** | Native packages for JavaScript, Python, C#, Go, and Android |
| **Simple Integration** | Single API key authentication, consistent response format |
| **Production Ready** | 99.9% uptime, fast response times, used by thousands of developers |
| **Comprehensive Docs** | Full examples, OpenAPI spec, and dedicated support |
---
## Documentation
- 🏠 **API Home:** [Dice Roller API](https://apiverve.com/marketplace/diceroller?utm_source=github&utm_medium=readme)
- 📚 **API Reference:** [docs.apiverve.com/ref/diceroller](https://docs.apiverve.com/ref/diceroller)
- 📖 **OpenAPI Spec:** [openapi.yaml](./openapi.yaml)
- 💡 **Examples:** [examples/](./examples/)
---
## What Can You Build?
The Dice Roller API is commonly used for:
- **Web Applications** - Add dice roller features to your frontend or backend
- **Mobile Apps** - Native SDKs for iOS and Android development
- **Automation** - Integrate with n8n, Zapier, or custom workflows
- **SaaS Products** - Enhance your product with dice roller capabilities
- **Data Pipelines** - Process and analyze data at scale
---
## API Reference
### Authentication
All requests require an API key in the header:
```
x-api-key: YOUR_API_KEY_HERE
```
Get your API key: [https://apiverve.com](https://apiverve.com)
### Response Format
All responses are JSON with this structure:
```json
{
"status": "ok",
"data": { ... }
}
```
---
## Support & Community
- 🏠 **API Home**: [Dice Roller API](https://apiverve.com/marketplace/diceroller?utm_source=github&utm_medium=readme)
- 💬 **Support**: [https://apiverve.com/contact](https://apiverve.com/contact)
- 🐛 **Issues**: [GitHub Issues](../../issues)
- 📖 **Documentation**: [https://docs.apiverve.com](https://docs.apiverve.com)
- 🌐 **Website**: [https://apiverve.com](https://apiverve.com)
---
## Contributing
We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
---
## Security
For security concerns, please review our [Security Policy](SECURITY.md).
---
## License
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
---
## Acknowledgments
Built with ❤️ by [APIVerve](https://apiverve.com)
Copyright © 2026 APIVerve. All rights reserved.