snowsure
Python SDK and CLI for SnowSure — live ski & snow data: current conditions, 14-day multi-model forecasts, powder rankings, and a grounded natural-language snow Answer Engine across 500+ resorts worldwide. No API key required.
pip install snowsure
SDK
from snowsure import SnowSureClient
client = SnowSureClient()
# Global snow rankings (SnowSure score, fresh snow, depth, 14-day forecast)
report = client.get_snow_report(sort="recent", region="europe", limit=10)
for resort in report["resorts"]:
print(resort["name"], resort["snowSure"]["score"], resort["conditions"]["snowfall24hCm"])
# List / filter resorts
resorts = client.get_resorts(country="Switzerland", sort="score", limit=20)
# One resort in full detail (slugs are lowercase-hyphenated)
zermatt = client.get_resort("matterhorn-ski-paradise")
# Grounded natural-language Q&A
answer = client.ask("where is the best powder in the alps right now?")
print(answer["answer"])
All SnowSure API responses use a {"meta": ..., "data": ...} envelope; client methods return the unwrapped data payload. The most recent meta block (source, timestamp) is available on client.last_meta. Errors raise snowsure.SnowSureError.
ask() uses the public keyless tier (partnerId: "chatgpt"). Partners with a SnowSure API key can pass SnowSureClient(api_key="...", partner_id="your-partner-id").
CLI
The package installs a snowsure command:
snowsure report # global snow rankings
snowsure report --sort recent --region europe --limit 10
snowsure resort matterhorn-ski-paradise # live conditions for one resort
snowsure ask "how much snow fell at Niseko this week?"
Add --json to any command for the raw JSON payload.
Related
- MCP server (39 tools, streamable HTTP, no auth):
https://www.snowsure.ai/mcp - OpenAPI spec: https://www.snowsure.ai/openapi.json
- LLM guide: https://www.snowsure.ai/llms.txt
- Repo: https://github.com/mikeslone/snowsure-mcp
License
MIT
Metadata
Release files for snowsure 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| snowsure-0.1.0.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snowsure-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / snowsure-0.1.0.tar.gz
| Download URL | snowsure-0.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
059c440ca523a27351097dda5d6bccb9e8eade4db10a180be22f7455a34ae526
|
|
BLAKE2b-256 checksum How to use checksums |
47c99b81cf54f99178ba8301738052aa71183aa02aa411275d411a104e5af46f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / snowsure-0.1.0-py3-none-any.whl
| Download URL | snowsure-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2ce8f9d5f67020f645a6fdf05c9fb5e7b88347fcfa15d9cfdc3b12164a8a628
|
|
BLAKE2b-256 checksum How to use checksums |
3dca625ae87e0a56512d405a75b433635591a13e155f6a5aa22bf8137ac82156
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|