paat-core

Crates.iopaat-core
lib.rspaat-core
version0.1.0
sourcesrc
created_at2022-06-22 21:32:04.861687
updated_at2022-06-22 21:32:04.861687
descriptioncore functions for communicating with praamid.ee internal API
homepagehttps://github.com/ebakoba/paat
repositoryhttps://github.com/ebakoba/paat
max_upload_size
id611159
size10,323
(ebakoba)

documentation

https://docs.rs/paat-core

README

Paat

Overview

Paat is a bot for finding spots on ferries moving between Hiiumaa, Saaremaa and mainland Estonia. Even when the ferries are sold out people often change their tickets or opt to go at an earlier time. Therefore, continues polling of the available spots can lead to a ferry ticket at the desired time. Paat helps to simplify it by polling after every 30 seconds, removing the need to keep refreshing the ferry website.

Paat consists of two parts: paat-core which implements logic for polling, paat-cli which is the user facing CLI application. In future there is a plan to add more user facing applications such paat-tui and paat-desktop.

Usage

paat-cli

Paat Usage GIF

Oh, and it will play sound too🎵!

Installation

Using Cargo

cargo install paat-cli

From source

git clone https://github.com/ebakoba/paat
cd paat/paat-cli
cargo install --path .

Limitations

Paat is written agains internal API of praamid.ee. Changes at the internal API can break functionality of Paat at any moment.

Currently Paat can only poll spots for small vehicles.

Commit count: 90

cargo fmt