Python library for the Trailforks API
Project description
PyForks
Python TrailForks Library (Unofficial) for interacting with TrailForks. Help support this project and more.
About
This package uses the Official 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.
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.
Installation & Documentation
- Install:
pip install pyforks
- Documentation: PyForks.mn-mtb.com
Quick Start
Get Information on a region
from PyForks import Region, Trails, Events
app_id = "id"
app_secret = "secret"
west_lake_marion_region_id = 20367
region = Region(app_id=app_id, app_secret=app_secret)
r_data = region.get_region(west_lake_marion_region_id)
Contribute
There's a ton of opportunity to help if you're interestined:
- Create all the pull requests you want to PyForks
- We also have a website (Node, backend Python API): app.mn-mtb.com
- AWS Infrastructre (terraform).
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
pyforks-1.0.0.tar.gz
(1.5 MB
view hashes)