scraper

package
v0.0.0-...-f9b2ce9 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package scraper implements setabot's services through web scraping.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scraper

type Scraper struct{}

Scraper is a provider of the services of setabot that fetches data through web scraping.

func (*Scraper) GetArrivals

func (s *Scraper) GetArrivals(city, stopID, stopName string) ([]services.Arrival, error)

GetArrivals fetches the arrivals at a stop.

Jump to

Keyboard shortcuts

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