Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 31, 2021. It is now read-only.
/ golang-ubereats Public archive

An unofficial Golang client for Uber Eats API

License

Notifications You must be signed in to change notification settings

dan-v/golang-ubereats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An unofficial Golang client for Uber Eats API. I've used this client to create an example application that grabs the most popular items from all restaurants in a given location.

Most Popular Items Example

This will grab all restaurant popular items and display them on a beautifully styled web page at http://localhost:3000

go run main.go -lat "47.6062" -long "-122.3321"

Unofficial Golang Client

import "github.com/dan-v/golang-ubereats/ubereats"

// given latitude and longitude of location
client, err := ubereats.NewClient("47.6062", "-122.3321")

// get store list
storeList, err := client.GetStoreList()

// get store details
for _, store := range storeList {
    fmt.Println(store.Title)
    details, err := client.GetStoreDetails(store.UUID)
    fmt.Println(details)
}

About

An unofficial Golang client for Uber Eats API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published