ride-collector

command module
v0.0.0-...-bfabd06 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: MIT Imports: 9 Imported by: 0

README

Go Go Report Card GitHub go.mod Go version GitHub

Ride Collector

Initial project to find roller coaster ride information especially height from websites. UsesGo Colly for screen scraping. Eventually, will include writers such as CSV, Firebase.

Development

go run main.go

RoadMap

  • Proof of concept
  • introduce interface to collect ride info and write
  • separate out interface by ride for contributions
  • tests are a good thing
  • add a writer to csv
  • add a writer to firebase
  • add a writer to json

Sample JSON output (snipper)

{
        "park": "Busch Gardens Williamsburg",
        "name": "Apollo's Chariot",
        "description": "A guest favorite. Hold on as this coaster drops from 210 feet!",
        "image": "https://buschgardens.com/williamsburg/rides//williamsburg/-/media/busch-gardens-williamsburg/images/rides/apollos-chariot/listing-images/apollos-chariot.ashx?version=1_201905015448",
        "height": "52",
        "url": "https://buschgardens.com/williamsburg/roller-coasters/apollos-chariot/",
        "tags": [
            "High Thrill",
            "Roller Coaster"
        ]
    },

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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