Skip to main content

A package to interface with Trailforks.com

Project description

PyForks

PyForks Tests

Python Trailforks Library for interacting with Trailforks.com

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: wlmt.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 intrest.

Installation & Documentation

Quick Start

Currently, PyForks can interact with Users and Regions to obtain data that either requires Authentication or No Authentication. Functions that require Auth contain tha @authorization decorator which, can be seen in the Documentation.

Get Information on a User

from PyForks.trailforks_user import TrailforksUser
from pprint import pprint

# Get Basic information about a user
tf = TrailforksUser()
user_info = tf.get_user_info("mnmtb")
pprint(user_info)

# Get the User's Gear
tf.username = "<your_username>"
tf.password = "<your_password>"
tf.login()
user_gear = tf.get_user_gear("mnmtb")
pprint(user_gear)

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.8.tar.gz (13.4 kB view hashes)

Uploaded Source

Built Distribution

PyForks-0.0.8-py3-none-any.whl (14.4 kB view hashes)

Uploaded Python 3

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