1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/overwatch.py

12 lines
No EOL
257 B
Python

import asyncio
import aiohttp
import json
# Get player database from the db.json file
db = json.load("db.json")
# List overwatch players
players = list()
for player in db:
if player["overwatch"] is not None:
players.append(player["overwatch"])