Local Overwatch API. Latest Version run here: https://owapi.eu
1.3K
owapi is a lightweight and efficient API server written in Go for Overwatch stats, built with the Echo web framework. It provides a clean, ultra-fast interface to retrieve player statistics. This project now includes a dedicated Background Scraper service to keep data fresh and reduce load times via Redis caching.
Source: https://github.com/Domekologe/ow-apiβ
The source contains:
api and scraper images)This repository provides two main images:
The main API application that serves player stats.
Image name:
domekologe/owapi:latest
Pull with:
docker pull domekologe/owapi:latest
Run (Standalone):
docker run -p 8080:8080 domekologe/owapi:latest
A background service that automatically updates cached player data.
Image name:
domekologe/owapi:scraper-latest
Pull with:
docker pull domekologe/owapi:scraper-latest
CGO_ENABLED=0 for portabilityUse these images to:
Ideally, you should run the API, Scraper, and Redis together. Here is a complete docker-compose.yml example:
version: '3.8'
services:
# Redis Database (Required for Caching & Scraper)
redis:
image: redis:7-alpine
container_name: ow-api-redis
restart: unless-stopped
volumes:
- redis-data:/data
# API Service
api:
image: domekologe/owapi:latest
container_name: ow-api
restart: unless-stopped
ports:
- "8080:8080"
environment:
- PORT=8080
- REDIS_ENABLED=true
- REDIS_HOST=redis
- CACHE_TTL=24h
- API_TIMEOUT=5s
depends_on:
- redis
# Scraper Service (Background updates)
scraper:
image: domekologe/owapi:scraper-latest
container_name: ow-api-scraper
restart: unless-stopped
environment:
- REDIS_ENABLED=true
- REDIS_HOST=redis
- SCRAPER_ENABLED=true
- SCRAPER_INTERVAL=60m
depends_on:
- redis
# Persistent volume for Redis data
volumes:
redis-data:
driver: local
REDIS_HOST match your deployment setup.REDIS_ENABLED=true) to function.:latest (API) and :scraper-latest (Scraper). Version tags are also available (e.g., :v1.0.0 and :scraper-v1.0.0).This project is not affiliated with, endorsed by, or associated with Blizzard Entertainment, Inc.
βOverwatchβ is a registered trademark of Blizzard Entertainment, Inc.
This project is an independent, community-driven effort.
Content type
Image
Digest
sha256:352e69a3bβ¦
Size
7.5 MB
Last updated
7 months ago
docker pull domekologe/owapi