Skip to main content

This package is a wrapper for the Mountain Project public data API: https://www.mountainproject.com/data.

Install using: pip install MountainProjectPublicAPI

Required packages: json, requests

Available functions:

getUser(key, userId="", email="")

Return genral user information as JSON dictionary
args: 
     - key: your private key
    - userId: Id of user to return
    - email: email of user to return
return: genral user information as JSON dictionary

getTicks(key, userId="", email="", startPos=0)

Return up to 200 of the user's most recent ticks.
args: 
    - key: your private key
    - userId: Id of user to return
    - email: email of user to return
    - startPos: The starting index of the list to return. Defaults to 0.
returns: Users ticks as JSON dictionary

getToDos(key, userId="", email="", startPos=0)

 Return up to 200 of the user's TODOs
 args: 
     - key: your private key
     - userId: Id of user to return
     - email: email of user to return
     - startPos: The starting index of the list to return. Defaults to 0.
 returns: User's TODOs as JSON dictionary

getRoutes(key, routeIDs)

 Return details for up to 200 routes.
 args: 
     - key: your private key
     - routeIds: A comma-separated list of route IDs, up to 100
 returns: details for up to 200 routes as JSON dictionary

getRoutesForLatLon(key, lat, lon, maxDistance=30, maxResults=50, minDiff="5.0", maxDiff="5.16")

 Return routes for a given query
 args: 
     - key: your private key
     - lat - Latitude for a given area
     - lon - Longitude for a given area
     - maxDistance: Max distance, in miles, from lat, lon. Default: 30. Max: 200.
     - maxResults:  Max number of routes to return. Default: 50. Max: 500.  
     - minDiff:  Min difficulty of routes to return, e.g. 5.6 or V0.
     - maxDiff:  Max difficulty of routes to return, e.g. 5.10a or V2.
 returns: details for up to 200 routes as JSON dictionary

Release files for MountainProjectPublicAPI 0.1.0

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

Source distribution (sdist)

Source distribution for MountainProjectPublicAPI 0.1.0
File Size Uploaded
MountainProjectPublicAPI-0.1.0.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MountainProjectPublicAPI 0.1.0
File Interpreter ABI Platform
MountainProjectPublicAPI-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release files / MountainProjectPublicAPI-0.1.0.tar.gz

Download URL MountainProjectPublicAPI-0.1.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
656f92694b061198653e0629cdab20f150e494377ad503a6f09b2242f556434e
BLAKE2b-256 checksum
How to use checksums
e1d344b29ff9135a8ae4ce9597ef01eaecbd85fe1ec5de1c1b9872708fd2d298
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5

Release files / MountainProjectPublicAPI-0.1.0-py3-none-any.whl

Download URL MountainProjectPublicAPI-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fcac06e19d0b6d5455920fedb599200794973b61b08bcabaf9fe7205a625342
BLAKE2b-256 checksum
How to use checksums
e81b81bb434af2c309fabbdaee720c1e71a1d2a9af7df25c2df057c453231682
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

2 release files

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