Skip to main content

Vsports API

FILE: /vsports/vsports/README.md

This file contains the documentation for the Vsports API package

The Vsports API is a Python package that provides an interface for interacting with the Vsports API. It allows users to access various endpoints and retrieve sports-related data efficiently.

Features

  • Access to multiple endpoints of the Vsports API.
  • Support for caching using Redis to improve performance.
  • Easy-to-use methods for retrieving events, teams, and other sports data.

Installation

You can install the Vsports API package using pip:

pip install vsports

Usage

Here is a simple example of how to use the Vsports API:

import json
from vsports import VsportsAPI

MYTOKEN = "your_token_here"
redis_config = {
    "host": "localhost", 
    "port": 6379, 
    "db": 0,
    "ttl": 300
}

vsports = VsportsAPI(MYTOKEN, redis_config=redis_config)
result = vsports.events_by_date("2025-01-24", usecache=True)
if result:
    print(json.dumps(result, indent=2))

result = vsports.teams_by_tournament(118, usecache=True)
if result:
    for team in result:
        print(team['name'])

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for vsports 1.0.2

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

Source distribution (sdist)

Source distribution for vsports 1.0.2
File Size Uploaded Provenance
vsports-1.0.2.tar.gz 5.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vsports 1.0.2
File Interpreter ABI Platform
vsports-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / vsports-1.0.2.tar.gz

Download URL vsports-1.0.2.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9ad4eccac1661e4fab0ff85a9ff2c05293667c19c22d7adb00de8c9fbba19b36
BLAKE2b-256 checksum
How to use checksums
0032f72079e718441d27c5d0a8a78856624e3ecbcc3f7ceb121cb55b39e8a591
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / vsports-1.0.2-py3-none-any.whl

Download URL vsports-1.0.2-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87d0bb99a476a27d48db04f54fbc740da8506e20385ebaefa191bf8e796864bd
BLAKE2b-256 checksum
How to use checksums
25b781f6665fe279a00f987046f00d9267a40ca9ca68255a0f20f5d332984b41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for vsports 1.0.2

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

1.0.2 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