Thezomg / mcapi

Python minecraft api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install

pip install git+git://github.com/Thezomg/mcapi.git

Example

from mcapi.profile import get_uuid

profiles = get_uuid('Deaygo')
if profiles is not None and len(profiles) > 0:
    print profiles[0]['id']
from mcapi.profile import get_profile

profile = get_profile('2413639c21d64ba7a43ec90933f543e3')

if profile is not None:
    print profile['name']

About

Python minecraft api


Languages

Language:Python 100.0%