A package to interface with Trailforks.com
Project description
PyForks
Python Trailforks Library (Unofficial) for interacting with Trailforks.com. Help support this project and more.
About
PyForks has been designed to help me automate much of the manual data aggregation I was doing in order to build metrics for my local city and state trail systems. For example: app.mn-mtb.com. The end goal of this project is the ability to make it much easier to pull data down that people are interested in and analyze it in a way that non-technical individuals can digest and understand impact in hopes of additional funding and interest.
This package uses the Offical Trailforks API. This means that in order to use this package, you must have a valid Trailforks app_id
and app_secret
. See the API link to get your keys.
Installation & Documentation
- Install:
pip install pyforks
- Documentation: PyForks.mn-mtb.com
Quick Start
Get Information on a region
from PyForks import Region
import pandas as pd
app_id = "id"
app_secret = "secret"
r = Region(app_id=app_id, app_secret=app_secret)
if r.is_valid_region("west-lake-marion-park"):
region_info_df = r.get_region_info("west-lake-marion-park")
ridecount_df = r.get_region_ridecounts("west-lake-marion-park")
Contribute
Send all the pull requests you want!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file PyForks-0.0.23.tar.gz
.
File metadata
- Download URL: PyForks-0.0.23.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2d614614ffea28d8f54d4ad24edad1e7c7e6c7ceb5652f13e5be84c86ec3dca |
|
MD5 | 5a1c7732c8b75f1a7388d01f369e6283 |
|
BLAKE2b-256 | f76df70b5ddf70cab4de435a64a26e5bc2ab354246c2d4cca9f120d417488151 |
Provenance
File details
Details for the file PyForks-0.0.23-py3-none-any.whl
.
File metadata
- Download URL: PyForks-0.0.23-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416d023dc34481b33db1aa32e9d8e55ef5be56351a15e6145294350dc9edc335 |
|
MD5 | 9fb1d7a405d3e79f919ed832b0a4828e |
|
BLAKE2b-256 | ef09067c18b65dc53fadb004dcbb9108becabcf5197f4d1fcf948600e20ca8da |