GET /v2/lodgings/lastUpdates/{min}
Returns a list of all lodgings updated from less than the selected period.
Resource information
Authentication |
No |
Response Formats |
xml, json |
HTTP Method |
GET |
Response Object |
Lodgings
|
API Version |
v2 |
Example Request
https://api.poplidays.com/v2/lodgings/lastUpdates/30
https://api.poplidays.com/v2/lodgings/lastUpdates
If number of minutes is not provided 2 minutes is used by default
Example Response
json
{"lastUpdates": [
1432154,
1430231,
1443048
]}
xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<lodgings>
<lastUpdates>1432154</lastUpdates>
<lastUpdates>1430231</lastUpdates>
<lastUpdates>1443048</lastUpdates>
</lodgings>