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
257 B
Python
Raw Normal View History

2016-08-12 14:40:22 +00:00
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"])