yarasp

Yarasp Documentation

Welcome to the Yarasp documentation! Yarasp is a Python client library for accessing the Yandex Schedule API.

Features

Quick Example

import os
from yarasp import YaraspClient

# Set your API key (required)
os.environ['YARASP_API_KEY'] = 'your-api-key-here'

# Create a client
client = YaraspClient()

# Search for routes
results = client.search(params={
    "from": "c213",
    "to": "c2",
    "date": "2024-01-15"
})

print(f"Found {len(results)} routes")

Installation

pip install yarasp

Or using uv:

uv add yarasp

See the Installation Guide for detailed instructions.

Getting Started

  1. Get your API key from Yandex Developer Portal
  2. Set the environment variable:
    export YARASP_API_KEY='your-api-key-here'
    
  3. Follow the Quick Start Guide

Documentation Structure

Requirements

License

This project is licensed under the MIT License.

Support