Categorygithub.com/spudtrooper/opentable
repositorypackage
0.0.3
Repository: https://github.com/spudtrooper/opentable.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

opentable

Go client API for http://opentable.com

Usage

Deployed frontend

https://unofficial-opentable-api.herokuapp.com/

Running local front end

./scripts/frontend_local.sh

Running the CLI

Install the CLI:


go install github.com/spudtrooper/opentable

or run from local with:


./scripts/run.sh

Using the API

For examples using the API, see the CLI in cli/main.go

Ingesting

If you want to ingest restaurants by URI, run:


./scripts/search.sh <uri-1> <uri-2> ... <uri-N>

This will require a local mongo DB, controlled by --mongo_db_name and --mongo_db_port.