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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyForks-0.0.8.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for PyForks-0.0.8.tar.gz
Algorithm Hash digest
SHA256 a278b54182ce13c5c5bb71fdcb7cba5c5244fd228b87cd80e6bab1743e270a2d
MD5 c6b0612cc97e372f998e1e50dcc033c4
BLAKE2b-256 f38dc493a7298e09f8d9b9946f2b08b53baa3f54e0beaf3ac8606dae3b7df594

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: PyForks-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for PyForks-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2bcdc53c83722d04f8169c475c5f955e571bb4be4b24029df48f0451023bd175
MD5 c9094762037625d9c48e7a8058519325
BLAKE2b-256 1ab2a486567925e58c13b72f2f7f358ad42ef581c9d014427b9522214cbf7108

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