Tapsi Food
v0.2.2Unofficial read-only Tapsi Food: search dishes and restaurants, menus, reviews, flash deals.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tf_find_location Find location
Turn a place name or address into latitude/longitude. Use first when the user gives an address. Biased toward near_lat/near_long (default Tehran).
| Parameter | Type | Description |
|---|---|---|
query * | string | Place, street or landmark, e.g. 'میدان ونک'. |
limit | integer | Max places. |
near_lat | Bias latitude, e.g. a city center. | |
near_long | Bias longitude. |
tf_reverse_geocode Describe coordinates
Describe coordinates as an address with province and city.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Delivery latitude, e.g. 35.7577. |
long * | number | Delivery longitude, e.g. 51.4095. |
tf_list_cities List cities
List the cities Tapsi Food shows, with a center point and whether it delivers there. Use the center as a rough delivery point when the user only names a city. Static snapshot.
| Parameter | Type | Description |
|---|---|---|
query | Filter on Persian title or English code, e.g. 'شیراز'. |
tf_search_dishes Search dishes
Search dishes by name near a delivery point, with price, discount and restaurant. Use for "find X near me" or "cheapest / discounted X". Prices can lag the menu: confirm with tf_menu. Lists only restaurants open now (total can be 0 at night); tf_restaurants also lists closed ones.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Delivery latitude, e.g. 35.7577. |
long * | number | Delivery longitude, e.g. 51.4095. |
query * | string | Dish or restaurant word, e.g. 'پیتزا'. |
discounted_only | boolean | Only dishes with a discount. |
limit | integer | Max dishes. |
page | integer | Page, from 1. |
sort | string | cheapest / biggest_discount / top_rated sort the first 100 matches; nearest is Tapsi's order. |
tf_search_vendors Search vendors
Search restaurants and stores by name or cuisine near a delivery point. Use to find a vendor code by name. No dish prices: use tf_menu or tf_search_dishes. Lists only restaurants open now; tf_restaurants also lists closed ones.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Delivery latitude, e.g. 35.7577. |
long * | number | Delivery longitude, e.g. 51.4095. |
query * | string | Dish or restaurant word, e.g. 'پیتزا'. |
limit | integer | Max vendors. |
page | integer | Page, from 1. |
tf_restaurants List restaurants
List restaurants (or grocery stores) delivering to a point, with rating, delivery fee, minimum order and ETA. Use to browse or rank vendors. Page 1 also returns 'categories' (values for category). No dish prices: use tf_menu. 404 outside served cities.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Delivery latitude, e.g. 35.7577. |
long * | number | Delivery longitude, e.g. 51.4095. |
category | Cuisine chip from 'categories' of page 1, e.g. '1-82'. | |
delivery | string | Courier type. |
discounted_only | boolean | Only vendors with a discount. |
kind | string | restaurants or grocery stores. |
new_only | boolean | Only new vendors. |
page | integer | Page, from 1. |
page_size | integer | Feed items per page; page 1 lists fewer (widgets). |
sort | string | Result order. |
tf_deals Flash deals
List the Tap Time flash deals (تپ تایم): discounted dishes with a limited stock, near a point. Use for "today's best deals". Check stock_left, it runs out.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Delivery latitude, e.g. 35.7577. |
long * | number | Delivery longitude, e.g. 51.4095. |
category | Same as tf_restaurants. | |
page | integer | Page, from 1. |
page_size | integer | Same as tf_restaurants. |
sort | string | Deal order. |
tf_discounted_vendors Discounted vendors
List the vendors in Tapsi Food's 'Food Shots' (فودشات) discount campaign near a point. Use for "which restaurants have the biggest discount". The campaign is curated; tf_restaurants with discounted_only is wider.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Delivery latitude, e.g. 35.7577. |
long * | number | Delivery longitude, e.g. 51.4095. |
page | integer | Page, from 1. |
page_size | integer | Feed items per page; page 1 lists fewer (widgets). |
sort | string | Result order. |
tf_vendor_info Vendor costs and hours
Get a vendor's delivery fee to a point, minimum order, packaging, ETA, open_now, hours, address and rating spread. Use before recommending a vendor. open_now is live; status OutOfCoverage = will not deliver here. eta_max is "up to N minutes". Coupons are not exposed.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Delivery latitude, e.g. 35.7577. |
long * | number | Delivery longitude, e.g. 51.4095. |
vendor_code * | string | Vendor code, e.g. '2y97wk'. |
tf_reviews Vendor reviews
Read customer reviews of a vendor, newest first, with the rating of each ordered dish. Use to judge quality beyond the star average. Only reviews with a comment are listed, so a page can hold fewer than limit; total counts all reviews. Keep paging while has_more is true.
| Parameter | Type | Description |
|---|---|---|
vendor_code * | string | Vendor code, e.g. '2y97wk'. |
full_text | boolean | Return descriptions / review text uncut (default 100 / 250 chars). |
limit | integer | Reviews per page. |
page | integer | Page, from 1. |