Skip to content

MN-MTB/PyForks

Repository files navigation

PyForks

PyForks Tests GitHub PyPI codecov

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

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).

About

Python Trailforks Library for interacting with Trailforks.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published