Skip to main content

Unofficial Earth2 API wrapper with CLI (Python). Read-only operations.

Project description

earth2-api-wrapper (Python)

Unofficial Earth2 API wrapper with CLI. Read-only operations. Excludes raiding/dispensing/charging/jewel/civilian automation.

Dev install:

pip install -e .
python -m earth2_api_wrapper.cli trending

Environment variables when needed:

  • E2_COOKIE
  • E2_CSRF

Examples:

# Trending
python -m earth2_api_wrapper.cli trending

# Property
python -m earth2_api_wrapper.cli property <uuid>

# Market search
python -m earth2_api_wrapper.cli market --country AU --tier 1 --tile-count 5-50 --items 100

# Leaderboard
python -m earth2_api_wrapper.cli leaderboard --type players --sort-by tiles_count --country AU

# Resources
python -m earth2_api_wrapper.cli resources <uuid>

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

earth2_api_wrapper-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

earth2_api_wrapper-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file earth2_api_wrapper-0.1.0.tar.gz.

File metadata

  • Download URL: earth2_api_wrapper-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for earth2_api_wrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b3c765a50d3292735a8fad5faf4f4aa34c8f3e85fe84d6786d172f4c46ba211b
MD5 c68d7e36f8546548905445fcd73d2678
BLAKE2b-256 da5c9d50d94953eb6a5630cee5c9213c6f4f414d13a19374ed1e45ee5c2d4138

See more details on using hashes here.

File details

Details for the file earth2_api_wrapper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for earth2_api_wrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9240fb69f5710c6ab4744aba0154af9d3513160183f52804f7a927d584c941dd
MD5 3e255328e0954872275cc0073b4a6951
BLAKE2b-256 93f5d9ea8fc9abea9982e88ad49d9e2b8c2c6ac4be96feb16b9c9de0ce3ef0f4

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