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