Skip to main content
Let’s build a practical tool! We’ll create a Discord Balance Manager that lets you search members by Discord ID and manage their point balances. Perfect first project to get familiar with DRIP. 🚀

Prerequisites (2 minutes)

1

Get Your API Key

Follow the quickstart guide to get your API key and realm ID (found in the dashboard header when your project is selected)
2

Choose Your Weapon

Pick your favorite:
  • HTML + JavaScript (runs anywhere, no setup)
  • Node.js (if you like npm and stuff)
  • Python (if you’re into that)

Discord Balance Manager

Let’s build another useful app! This time we’ll create a balance management tool that lets you search for users by their Discord ID and manage their point balances.

What We’re Building

A balance management app that:
  • 🔍 Search users by Discord ID
  • 💰 View current point balances
  • ➕ Award or deduct points
  • 📝 Add reasons for balance changes
  • 🎯 Simple, clean interface
Perfect for community managers who need to quickly adjust member balances for events, contests, or corrections!
🔒 SECURITY WARNING: This example is for learning purposes only!The HTML version below exposes your API key in client-side JavaScript, which is NOT SAFE for production use. Anyone can view your API key by inspecting the page source.For production applications:
  • Use server-side code (Node.js, Python, etc.) to keep API keys secure
  • Store API keys in environment variables, never in source code
  • Implement proper authentication and authorization
  • Consider using the App Client flow for multi-realm applications
This tutorial is safe for:
  • Local development and testing
  • Learning DRIP API concepts
  • Prototyping (with test API keys only)

HTML + JavaScript Version

Key Features Explained

The app searches for members using their Discord user ID:
  • Uses the /realm/{realmId}/members/search endpoint
  • Searches by type=discord and the provided Discord ID
  • Returns member details including current point balances
Handles multiple point currencies in your realm:
  • Fetches available currencies from /realm/{realmId}/points
  • Populates dropdown menus for currency selection
  • Displays all current balances with currency names and emojis
Award or deduct points with full control:
  • Uses /realm/{realmId}/members/{memberId}/point-balance endpoint
  • Positive values for awards, negative for deductions
  • Optional reason tracking for audit purposes
  • Real-time balance updates after each operation

How to Get Discord IDs

1

Enable Developer Mode

In Discord: Settings → Advanced → Enable “Developer Mode”
2

Copy User ID

Right-click any user → “Copy User ID”
3

Use in App

Paste the ID into the search field and click “Search Member”

What’s Next? 🚀

Congratulations! You just built your first DRIP app! 🎉 Here are some ideas for your next projects:

Points Dashboard

Show detailed analytics: points over time, top earners, activity trends

Member Directory

Searchable member list with profiles, badges, and achievements

Quest Tracker

Show active quests, completion rates, and member progress

Store Integration

Let members spend points on rewards directly from your app

Ready for More Advanced Stuff?

Multi-Realm Apps

Build apps that work across multiple communities

API Reference

Explore all available endpoints and advanced features
Share your creation! Built something cool? Show it off in our Discord community and get feedback from other developers! 🚀