mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
12 lines
257 B
Python
12 lines
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"])
|