1.0.1 • Published 3 years ago

gofood v1.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

Gofood

Un-official Gofood API Wrapper. API end point known from https://gofood.co.id.

Documentation

Getting Started

  • Using npm
npm i gofood
  • Using yarn
yarn add gofood
  • Include Gofood module
import gf from 'gofood'

Usage API

Get Restaurant By Id

const restaurant = await gf.getRestaurant(restaurantId, location)

Get the nearest restaurant

const result = await gf.getRestaurants(location, page, searchId)

location examples are -6.2174945,106.8178377.

searchId obtained from result page 1.

1.0.1

3 years ago

1.0.0

3 years ago