Skip to content

Commit

Permalink
move to pep8 naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkflame72 committed Nov 11, 2020
1 parent 4a426a7 commit cc73c69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ The Ayncpixel Python Project
:hidden:
:maxdepth: 1

license
reference

TODO
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Reference
:backlinks: none


asyncpixel
mcsrvstats
--------------------------

.. automodule:: mcsrvstats
Expand Down
10 changes: 5 additions & 5 deletions mcsrvstats/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def get_json(self, url: str) -> Dict:
return data
raise ApiError("Api response not succesful")

async def hiveMCAchievements(self, username: str) -> Dict:
async def hive_mc_achievments(self, username: str) -> Dict:
"""Hive Minceaft player achievements.
Args:
Expand All @@ -74,7 +74,7 @@ async def hiveMCAchievements(self, username: str) -> Dict:
data["all_achievements"].append(ach)
return data

async def hiveMCStatus(self, username: str) -> Dict:
async def hive_mc_status(self, username: str) -> Dict:
"""Hive Minecraft player status.
Args:
Expand All @@ -91,7 +91,7 @@ async def hiveMCStatus(self, username: str) -> Dict:
data["status"].append(thing)
return data

async def hiveMCGameStats(self, username: str, game: str) -> Dict:
async def hive_mc_game_stats(self, username: str, game: str) -> Dict:
"""Hive Minecraft game stats of a player.
Args:
Expand All @@ -106,7 +106,7 @@ async def hiveMCGameStats(self, username: str, game: str) -> Dict:
data = {"stats": [json_data]}
return data

async def hiveMCRank(self, username: str) -> Dict:
async def hive_mc_rank(self, username: str) -> Dict:
"""Hive Minecraft rank.
Args:
Expand All @@ -133,7 +133,7 @@ async def manacube(self, username: str) -> Dict:
json_data = await self.get_json(url)
return json_data

async def wynncraftClasses(self, username: str) -> Dict:
async def wynncraft_classes(self, username: str) -> Dict:
"""Wynncraft player classes.
Args:
Expand Down

0 comments on commit cc73c69

Please sign in to comment.