Skip to main content

No project description provided

Project description

minecraftverse

SDK for Minecraft versions info

This Python package is automatically generated by the OpenAPI Generator project:

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/oapicf/minecraft-versions.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/oapicf/minecraft-versions.git)

Then import the package:

import minecraftverse

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import minecraftverse

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import minecraftverse
from minecraftverse.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://launchermeta.mojang.com
# See configuration.py for a list of all supported configuration parameters.
configuration = minecraftverse.Configuration(
    host = "https://launchermeta.mojang.com"
)



# Enter a context with an instance of the API client
with minecraftverse.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = minecraftverse.DefaultApi(api_client)

    try:
        # Get Minecraft version manifest
        api_response = api_instance.get_minecraft_version_manifest()
        print("The response of DefaultApi->get_minecraft_version_manifest:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->get_minecraft_version_manifest: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://launchermeta.mojang.com

Class Method HTTP request Description
DefaultApi get_minecraft_version_manifest GET /mc/game/version_manifest.json Get Minecraft version manifest
DefaultApi get_minecraft_version_package_info GET /v1/packages/{packageId}/{versionId}.json Get Minecraft version package info

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

blah+oapicf@cliffano.com

Project details


Download files

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

Source Distribution

minecraftverse-1.2.0.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minecraftverse-1.2.0-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file minecraftverse-1.2.0.tar.gz.

File metadata

  • Download URL: minecraftverse-1.2.0.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for minecraftverse-1.2.0.tar.gz
Algorithm Hash digest
SHA256 44d2bf9654b1a9bcb52cf7c7177e65d31b5dc960aad292ec8aafbe460a1c32d1
MD5 776ec6a61343c13a4dc782525624bb56
BLAKE2b-256 c9b0983b477540316b9d24fad4124aa9b119f17233c842ffa6b190274ef50803

See more details on using hashes here.

File details

Details for the file minecraftverse-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: minecraftverse-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for minecraftverse-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 772e066cc1f1755bbac7206e9e4c456b7c32e82a871ad35bf4d453ad1efafc45
MD5 4b1760855ad5439a3a3a4a65eac1d920
BLAKE2b-256 1e800bc39299c52eb9a7635fb2cdd67d9795a9e937002d29b95469b3d5a60daa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page