Array
(
[0] => Array
(
[api_query] => http://api.salecamel.com?api_key=123456789&do_get=local_locations
[execution_time] => 0.13521409034729
[from_api] => Array
(
[0] => Array
(
[mysql_query] => SELECT DISTINCT merch_region, merch_locality, merch_country, merch_id FROM merchants_local ORDER BY merch_region, merch_locality
[execution_time] => 0.048197984695435
)
)
)
[1] => Array
(
[api_query] => http://api.salecamel.com?api_key=123456789&do_get=get_local&location=St%2C+Petersburg%2C+%2C+FL&radius=10&search_limit=15
[execution_time] => 7.7246360778809
[from_api] => Array
(
[0] => Array
(
[news_api_call] => http://hyperlocal-api.outside.in/v1.1/states/FL/cities/St%20Petersburg/stories?dev_key=6at3bn2z23e33eu92utrq6pt&sig=97d1380bb464342380f501f6ba48d7d2&no-vertical=obituaries
)
[1] => Array
(
[mysql_query] => SELECT data FROM cache_news
WHERE locality = 'St Petersburg'
AND region = 'FL'
AND country = 'United States'
AND expires > '1369361991'
[execution_time] => 0.00043511390686035
)
[2] => Array
(
[mysql_query] => INSERT INTO cache_news
(`locality`, `region`, `country`, `expires`, `data`)
VALUES
(
'St Petersburg',
'FL',
'United States',
'1369365591',
'DNS Made Easy: Your DNS has expired
DNS service for this domain has expired with DNS Made Easy
'
)
ON DUPLICATE KEY UPDATE expires = '1369365591', data = 'DNS Made Easy: Your DNS has expired
DNS service for this domain has expired with DNS Made Easy
'
[execution_time] => 0.081204891204834
)
[3] => Array
(
[mysql_query] => SELECT data FROM cache_weather
WHERE locality = 'St Petersburg'
AND region = 'FL'
AND country = 'United States'
AND expires > '1369361991'
[execution_time] => 0.00044608116149902
)
[4] => Array
(
[mysql_query] => INSERT INTO cache_weather
(`locality`, `region`, `country`, `expires`, `data`)
VALUES
(
'St Petersburg',
'FL',
'United States',
'1369365591',
'{ \"data\": { \"error\": [ {\"msg\": \"Unable to find any matching weather location to the query submitted!\" } ] }}'
)
ON DUPLICATE KEY UPDATE expires = '1369365591', data = '{ \"data\": { \"error\": [ {\"msg\": \"Unable to find any matching weather location to the query submitted!\" } ] }}'
[execution_time] => 0.052170991897583
)
[5] => Array
(
[mysql_query] => SELECT *, ( 3959 * acos( cos( radians(27.77119) ) * cos( radians( merch_latitude ) ) * cos( radians( merch_longitude ) - radians(-82.63877) ) + sin( radians(27.77119) ) * sin( radians( merch_latitude ) ) ) ) AS distance
FROM merchants_local
HAVING distance < 10
ORDER BY distance
[execution_time] => 0.026583909988403
)
[6] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '164730' ORDER BY item_per_off
[execution_time] => 0.011476993560791
)
[7] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '240542' ORDER BY item_per_off
[execution_time] => 0.01215386390686
)
[8] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '327211' ORDER BY item_per_off
[execution_time] => 0.011754989624023
)
[9] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '68360' ORDER BY item_per_off
[execution_time] => 0.011941909790039
)
[10] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '160960' ORDER BY item_per_off
[execution_time] => 0.01600193977356
)
[11] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '215659' ORDER BY item_per_off
[execution_time] => 0.011075019836426
)
[12] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '146544' ORDER BY item_per_off
[execution_time] => 0.01136302947998
)
[13] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '137410' ORDER BY item_per_off
[execution_time] => 0.011135101318359
)
[14] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '334349' ORDER BY item_per_off
[execution_time] => 0.020189046859741
)
[15] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '264951' ORDER BY item_per_off
[execution_time] => 0.008713960647583
)
[16] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '332984' ORDER BY item_per_off
[execution_time] => 0.009023904800415
)
[17] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '289447' ORDER BY item_per_off
[execution_time] => 0.0085830688476562
)
[18] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '162041' ORDER BY item_per_off
[execution_time] => 0.013225078582764
)
[19] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '339009' ORDER BY item_per_off
[execution_time] => 0.01462984085083
)
)
)
)