Skip to main content

Run Across America

Python library to fetch and analyze team and user data from Run Across America.

Installation

pip install run-across-america

Usage

Available methods:

  • user_id(user_code: str): Exchanges your user code (from the signup email) for your user id.
  • user(user_id: str): Retrieves information about a user from their user_id.
  • teams(user_id: str): Retrieves all the teams a particular user is a member of.
  • goals(team_id: str): Retrieves information about the distance goal for a team.
  • members(team_id: str): Retrieves all the members of a team.
  • leaderboard(team_id: str): Retrieves the current leaderboard of a team.
  • feed(team_id: str): Retrieves all the activities of a team.

User ID

Exchanges your user code (from the signup email) for your user id. Options:

  • user_code: str = The alphanumeric code sent to a user after signup.

Example

>>> from run_across_america import RunAcrossAmerica
>>> client = RunAcrossAmerica()
>>> user_id: str = client.user_id("HELLO")

"f71f47b9-56b0-4bf9-99cd-fcb9b016d819"

User

Retrieves information about a user from their user_id. Options:

  • user_id: str = The GUID obtaining from exchanging the user code.

Example

>>> from run_across_america import RunAcrossAmerica, User
>>> client = RunAcrossAmerica()
>>> user: User = client.user("f71f47b9-56b0-4bf9-99cd-fcb9b016d819")

User(id='f71f47b9-56b0-4bf9-99cd-fcb9b016d819', age=None, created=datetime.datetime(2022, 1, 1, 12, 30, 0, 900000), email='test@example.com', first_name='Hello', gender=None, last_name='World', phone=None, icon=None, code='YYSHOEY6', timezone='America/Chicago', username='@hello-world', state='IL')

Metadata

Release files for run-across-america 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for run-across-america 0.1.0
File Size Uploaded Provenance Actions
run-across-america-0.1.0.tar.gz 5.7 kB Without provenance Details for run-across-america-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for run-across-america 0.1.0
File Interpreter ABI Platform Actions
run_across_america-0.1.0-py3-none-any.whl Python 3 none any Details for run_across_america-0.1.0-py3-none-any.whl

Total release size: 12.3 kB

Release files / run-across-america-0.1.0.tar.gz

Download URL run-across-america-0.1.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7a4b8aebb28c12137f98dacc9204157c63d35c3bfe9ac574141cc101fdac4577
BLAKE2b-256 checksum
How to use checksums
333ac27783f9889a24b4bb005a9f2152973b88eee274b51076f70402fb2097b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.15 CPython/3.7.9 Windows/10

Release files / run_across_america-0.1.0-py3-none-any.whl

Download URL run_across_america-0.1.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b41209a0e5597146638529a6edba777c3b81b66289ed42d1cd1524a205a6f2bc
BLAKE2b-256 checksum
How to use checksums
31dc4aceea3559bb64a8a3591ab920bc2501411d946ceab90602a556f848c0cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.15 CPython/3.7.9 Windows/10

Security for run-across-america 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page