Removed init import and renamed module to api

This commit is contained in:
clerie 2018-10-28 13:21:23 +01:00
parent 2c1b1491e0
commit 6788cb3944
5 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@ Getting Minecraft Player Information from Mojang API.
2. Use the module like this: 2. Use the module like this:
``` ```
from mcuuid import GetPlayerData from mcuuid.api import GetPlayerData
player = GetPlayerData(username) player = GetPlayerData(username)

View File

@ -1,2 +1 @@
name = "mcuuid" name = "mcuuid"
from mcuuid.mcuuid import GetPlayerData

View File

@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup( setuptools.setup(
name="mcuuid", name="mcuuid",
version="0.1.1", version="0.1.2",
author="Clemens Riese", author="Clemens Riese",
author_email="hallo@clerie.de", author_email="hallo@clerie.de",
description="Getting Minecraft Player Information from Mojang API.", description="Getting Minecraft Player Information from Mojang API.",

View File

@ -1,5 +1,5 @@
### Import our module ### Import our module
from mcuuid.mcuuid import GetPlayerData from mcuuid.api import GetPlayerData
### Import some other necessary modules ### Import some other necessary modules
import sys import sys