Skip to main content

A package to interface with Trailforks.com

Project description

PyForks

PyForks Tests GitHub PyPI codecov

Python TrailForks Library (Unofficial) for interacting with TrailForks. 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 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.

Installation & Documentation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyForks-0.0.27.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

PyForks-0.0.27-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file PyForks-0.0.27.tar.gz.

File metadata

  • Download URL: PyForks-0.0.27.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for PyForks-0.0.27.tar.gz
Algorithm Hash digest
SHA256 2ab2591fbad0c6c3d12e5c1d35aed9b607f4d8a005a8c879caf396f5fb40c7b7
MD5 b18ac7d65d5512815637c9b7957b3fea
BLAKE2b-256 af1922ed90426520064b600ace07776b9070d498c848a5c27e50f63194808709

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: PyForks-0.0.27-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for PyForks-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 9e921c89f46dc85d6abd1e031e681e338ae0f71ec91dd5625820ce9b75ce1c28
MD5 6b1aec4019dff1664e09606b53496100
BLAKE2b-256 df82f31a6fcea5828fcf65cbafba75f32d3e172937b2d255e9bebaf8128d4c96

See more details on using hashes here.

Provenance

Supported by

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