Skip to main content

An unofficial Python wrapper for Disney's API

Project description

MouseTools

PyPI version Downloads

An unofficial Python wrapper for the Disney API. Data is pulled directly from Disney. This package supports Walt Disney World and Disneyland.

Read the documentation.

Installation

You can install using pip:

pip install MouseTools

You can also install directly from this repo in case of any changes not uploaded to Pypi.

pip install git+https://gitlab.com/caratozzoloxyz/public/MouseTools

Quick Start

Define an entity object directly.

from mousetools.entities import Attraction

big_thunder = Attraction("80010110")

print(big_thunder.name)
#> 'Big Thunder Mountain Railroad'

print(big_thunder.ancestor_theme_park_id)
#> '80007944'

print(big_thunder.get_status())
#> 'OPERATING'

print(big_thunder.get_wait_time())
#> 45

Use the already created destination objects to get children entities.

from mousetools.entities import WALT_DISNEY_WORLD_DESTINATION, DISNEYLAND_RESORT_DESTINATION
from mousetools.ids import FacilityServiceEntityTypes

print(WALT_DISNEY_WORLD_DESTINATION.get_children_entity_ids(FacilityServiceEntityTypes.ENTERTAINMENT_VENUES))
#> ['10460', '80008033', '80008259']

print(DISNEYLAND_RESORT_DESTINATION.get_children_entity_ids(FacilityServiceEntityTypes.RESORT_AREAS))
#> ['330338', '15597760']

License

This project is distributed under the MIT license. For more information see LICENSE

Disclaimer

This project is in no way affiliated with The Walt Disney Company and all use of Disney Services is subject to the Disney Terms of Use.

This package uses the ThemeParks.wiki API.

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

mousetools-3.0.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

MouseTools-3.0.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file mousetools-3.0.0.tar.gz.

File metadata

  • Download URL: mousetools-3.0.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for mousetools-3.0.0.tar.gz
Algorithm Hash digest
SHA256 9f5bf4a0d72ba3c0312e0c3c11d5a236e901df781205b1895b350feeb6160728
MD5 6d7ccb477f9a7605166c2bf5f266718f
BLAKE2b-256 ab55c9f82f4819ac8cc3056095064f45f4091167c6a84d53f02d5a6ea5bb5202

See more details on using hashes here.

File details

Details for the file MouseTools-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: MouseTools-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for MouseTools-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 366d45e827976ffb1e42ce2e8c7c6338a3cea61450e76e80624450bf744928bc
MD5 35c7f3623e5ffb16412b7bfe585ac038
BLAKE2b-256 b135092cefeb3cf3610800304c50a028e43588f58c59c4b328e8b9aee1e8bd08

See more details on using hashes here.

Supported by

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