Socket
Socket
Sign inDemoInstall

cpsk

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cpsk

an unofficial api for grabbing data from cp.sk


Maintainers
1

Readme

python-cpsk-api travis

Simple python api for grabbing data from cp.sk

Installation

Available on pypi

Running $ pip install cpsk will get the package installed

Usage

import cpsk
drive = cpsk.get_routes('Bratislava', 'Praha', **kwargs)

Available kwargs

parametertypedescription
vehiclestringVehicle to travel with. Default vlakbus. Available: vlak, bus, vlakbusmhd.
timestringDeparture time. Defaults to current time.
datestringDeparture date. Defaults to current date.
directbooleanWhether to look only for direct routes. Defaults to False.

Beware that by using this you might be violating cp.sk ToS

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc