Skip to main content

Python library for the Trailforks API

Project description

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

Project details


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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyForks-1.0.0-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file pyforks-1.0.0.tar.gz.

File metadata

  • Download URL: pyforks-1.0.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for pyforks-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cbaa0b5d20b4c49b19d3009d6108c453da208182613fad89232c21dcb4acba04
MD5 c897df0021d3634339e5cd384a3191a3
BLAKE2b-256 112e5f067abde4339f3216249535b84ba72a7e680bf2f7bf7897173d1be8e9ec

See more details on using hashes here.

File details

Details for the file PyForks-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: PyForks-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for PyForks-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e22b9ca6df838e972ec415435750e79e6b0054afbc3116e5347a881500a235d
MD5 1b9da9ef92b263bd3f9262e5ca851129
BLAKE2b-256 c85dae2cb82eb8626bacbfcec6075e5bc6015402c1c5cbdc3e977d1b5621b964

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page