VOTR Integration Guide
A complete guide to integrate voting functionality using VOTR API and VoteNowButton SDK
🚀 Important Links
- 📚 Interactive API Documentation - Swagger documentation with live testing
Quick Start
The VOTR integration process has 4 simple steps:
-
Install SDK → Add VoteNowButton component to your project
-
Get OAuth Token → Authenticate with VOTR API using client credentials
-
Get Voting URL → Use OAuth token to generate voting URL for specific user/event
-
Use SDK Component → Pass the voting URL to VoteNowButton component
Your App → OAuth API → Voting API → SDK Component → Voting Interface
Key Features
- 🔒 Secure Integration - OAuth-based authentication with proper credential handling
- 📱 Cross-Platform - Works with React Native and React applications
- 🎯 Easy to Use - Simple SDK component with minimal configuration
- 🛡️ Best Practices - Built-in security recommendations and error handling
Architecture Overview
Frontend (React/RN) ←→ Your Backend API ←→ VOTR API
↓ ↓ ↓
- VoteNowButton SDK - Client ID - OAuth Token
- User Interface - Client Secret - Voting URLs
- No Credentials - Secure Storage - User Validation
- Environment URLs - Development/Production
Environment URLs
- Development:
https://api-dev.govotr.com - Production:
https://api.govotr.com
Getting Help
- 📋 Complete Examples: GitHub Repository
- 🚀 Quick Start: Getting Started Guide
- 🔧 Installation: Installation Instructions
- 📚 API Reference: API Documentation
- 🐛 Issues: Troubleshooting Guide
Ready to get started? Head over to the Getting Started guide to begin your integration.