question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please add last_time_updated to businessess returned

See original GitHub issue

Overview

  • Client ID: M9hoWvKGosX0XqzK4QOxMQ
  • Issue type: Feature Request
  • Summary: I would like a timestamp for when the last time information about a business was updated. For business closure information
  • Platform: Desktop/Web

Description

I was looking at the endpoints for businesses and the business search and noticed that all the responses don’t have any information about when was the last time it was updated.

More information

So if I wanted to find out which businesses were closed before the pandemic, I could take a look at the businesses that were closed before the month of February 2020. I don’t see this information in the business search results or the detailed business information and was wondering if it could be added.

Endpoint

(https://api.yelp.com/v3/businesses/search) (https://api.yelp.com/v3/businesses/{id})

Parameters or Sample Request

https://api.yelp.com/v3/businesses/search?latitude=25.6882185&longitude=-80.3187254&radius=40000&limit=50

Response

{
	"id": "opz-z4k-WK0KsyyR1Vwg5A",
	"alias":"whisk-gourmet-food-and-catering-miami-2",
	"name":"WHISK Gourmet Food & Catering",
	"image_url":"https://s3-media2.fl.yelpcdn.com/bphoto/F8qi-Pc6eze0_do6FY4Snw/o.jpg",
	"is_closed":false,
	"url":"https://www.yelp.com/biz/whisk-gourmet-food-and-catering-miami-2?adjust_creative=M9hoWvKGosX0XqzK4QOxMQ&utm_campaign=yelp_api_v3&utm_medium=api_v3_business_search&utm_source=M9hoWvKGosX0XqzK4QOxMQ",
	"review_count":1179,
	"categories": [
		{
			"alias":"newamerican",
			"title":"American (New)"
		}
	],
	"rating":4.5,
	"coordinates": {
		"latitude": 25.70289,
		"longitude": -80.28466
	},
	"transactions": [
		"delivery"
	],
	"price": "$$",
	"location":{
	    "address1":"7382 SW 56th Ave",
            "address2":"",
            "address3":"",
            "city":"Miami",
            "zip_code":"33143",
            "country":"US",
            "state":"FL",
            "display_address":[
               "7382 SW 56th Ave",
               "Miami, FL 33143"
            ]
	},
	"phone":"+17862688350",
    "display_phone":"(786) 268-8350",
    "distance":3768.7326218333387,
    "last_updated": "2020-8-22T3:55:30" (or "2020-8-22")
}

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
zxy919781142commented, Mar 7, 2021

That’s true. I also need such information.

0reactions
GregSaintJeancommented, Mar 7, 2021

O no. I haven’t seen or heard back from anyone. It’s a feature request.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WiFi problems after Win 10 upgrade on Lenovo IdeaPad S 500
Tonight I upgraded to Windows 10 and lost WiFi connection. It worked fine on 8.1, but now the laptop cannot find the WiFi....
Read more >
javascript add 1ms to a string date - Stack Overflow
I have a var in js which is represented like so: "lastTimeModified": "2019- ...
Read more >
GetItemTransactions - API Reference
HasMoreTransactions boolean Always Item ItemType Always Item.ApplicationData string Conditionally Item.AutoPay boolean Always
Read more >
Google My Business Adds "last Updated": Week 32 In SEO
Google My Business added a new "Last updated" feature for visitors to see clearly when the profile of a company has been the...
Read more >
5.9 Performing Custom Collections - Oracle Help Center
Use the custom collection options to change the diagnostic collections from the default.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found