veribi

package
v0.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package veribi implements utility routines for manipulating information from Veribi platform.

Package veribi implements utility routines for manipulating information from Veribi platform.

Package veribi implements utility routines for manipulating information from Veribi platform.

Package veribi implements utility routines for manipulating information from Veribi platform.

Package veribi implements utility routines for manipulating information from Veribi platform.

Index

Constants

View Source
const VeribiRepo = "vaclav-dvorak/veribi-cli"

VeribiRepo contain information about our repository on github

Variables

This section is empty.

Functions

func GetLatestVersion added in v0.1.0

func GetLatestVersion() (ver string)

GetLatestVersion - returns veribi cli latest version string

func Login added in v0.1.0

func Login() (err error)

Login solves whole login process and return error if anything doesn't go as planned

Types

type Offer

type Offer struct {
	ID         string
	Title      string
	Kind       string
	URL        string
	Count      int
	NotWorking int
	HostPrice  float64
	ThsPrice   float64
}

Offer is a struct holding information about current offer

func ScrapeOffer

func ScrapeOffer(off Offer) (result Offer, err error)

ScrapeOffer enrich Offer with additional data

func ScrapeOffers

func ScrapeOffers(incAuctions bool) (result []Offer, err error)

ScrapeOffers return list of current offers

type Release added in v0.1.0

type Release struct {
	Tag string `json:"tag_name"`
}

Release hold parsed information about github release

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL