Skip to main content

Pixel Worlds API

🌎 A python wrapper for pixel worlds' data

About | Installation | Usage | Author | License |

About

Pixel Worlds API is a python wrapper for Pixel Worlds' data. It was built to get blocks info, recipes, wearables and also events.

You can easily get information without storing thousands of pixel worlds data time to time. With just a single module, you can get everything you want.


Installation

First of all you need to install python. Please choose version 3.x. Next step is download it via pip:

(copy this command and paste to your terminal)

$ pip install pixelworldsapi

Usage

  • Search for item information
from pixelworlds import Item

item = Item("soil block")

# Item class functions:
#
# get_description() -> Get description
# get_complexity_info() -> Get complexxity info
# get_tier_info() -> Get tier info 
# get_rarity_info() -> Get rarity info
# get_item_type() -> Get item type 
# get_farmable_info() -> Get farmable info
# get_growth_time() -> Get growth time
# get_data() -> Get all data in a dict for
# get_recipe () -> Get recipe


print(item.get_data()) # Get all data in a json format

# Output:
#
# {
#    "name": "Soil Block",
#    "description": "This is what natural ground is made of. Most common block of them all.",    
#    "complexity": "1",
#    "tier": "1",
#    "rarity": "Common",
#    "itemType": "Blocks",
#    "farmable": "Farmable",
#    "growthTime": "31s",
#    "recipe": None
# }

print(item.get_description()) # Get description info
# Output:
# This is what natural ground is made of. Most common block of them all.

  • Wearables
# On going

  • Search for events
# On going

Author

Pixel Worlds API Author/s

Zenqi

License

Pixel worlds API is under GNU Affero General Public License.

Release files for Pixelworlds 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Pixelworlds 0.1.4
File Size Uploaded
Pixelworlds-0.1.4.tar.gz 5.4 kB Details

Release files / Pixelworlds-0.1.4.tar.gz

Download URL Pixelworlds-0.1.4.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b7c182305d42cc510b2d60dfea23fdfc1389903fb81dbd4010e648659968b16b
BLAKE2b-256 checksum
How to use checksums
6c3f6e3b510f3e35a55d0f78188b91a0e46f440614698b14a3526650bb1de164
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page