This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python library for interacting with Mojang APIs

Project Description

# mojapi Python library for interacting with Mojang APIs.

# Installation ` pip install mojapi `

# Usage Make basic API requests to Mojang as laid out at http://wiki.vg/Mojang_API. Where appropriate, timestamps are converted to native Python datetime objects, and base64 encoded JSON objects are automatically expanded.

`python >>> from mojapi import * >>> get_uuid('gozug') {'id': 'bdc46881e95447b694e82d10bac42ccb', 'name': 'gozug'} >>> get_detailed_profile('bdc46881e95447b694e82d10bac42ccb') {'properties': [{'value': {'textures': {'SKIN': {'url': 'http://textures.minecraft.net/texture/1d9e8dafe7d87bb7cba7eb3d8d2d5bf58eab72ecdfdf9ecce3d1c03871c0'}}, 'profileId': 'bdc46881e95447b694e82d10bac42ccb', 'timestamp': datetime.datetime (2016, 9, 8, 23, 44, 15, 472000), 'profileName': 'gozug'}, 'name': 'textures'}], 'id': 'bdc46881e95447b694e82d10bac42ccb', 'name': 'gozug'} `

# Contributions Contributions are welcome.

Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mojapi-0.1.1.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Sep 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting