VelichkoAlexander / uberEats-demo-api

Not real API of UberEats

Home Page:https://ubereats-demo-api.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fake UberEats Api

mirror: https://ubereats-demo-api.herokuapp.com/

Returns json data about a restorans places.

Url

  • GET /v1/places (pagination through query params limit and offset)

Method:

  • GET

URL Params:

  • limit=[integer]
  • offset=[integer]

Success Response:

  • Code: 200
  • Content:
{
  "id":10,
  "title" : "Маоедун",
  "type" : "Китайская кухня",
	"img" : "/images/img.jpg",
	"price" : "₴₴",
	"rating" : "3",
	"reviews" : "44"
}

Sample Call:

fetch('/v1/places')
  .then(res => res.json())
  .then(data => {
    console.log(data);
  });
  .catch(err => console.log(err));

About

Not real API of UberEats

https://ubereats-demo-api.now.sh/


Languages

Language:JavaScript 100.0%