From 3b6d52ba09532a99cb87259093761308293098f5 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Sat, 5 Nov 2016 18:12:59 -0400 Subject: [PATCH] Reduce precision of lat/long coords used in testing Python 2 truncates earlier than Python 3 when converting floats to a string, which was causing problems with the cassette recording. --- cassettes/testgeoapis.json | 500 ++++++++++++++++++++++++++++--------- tests/test_api.py | 2 +- 2 files changed, 389 insertions(+), 113 deletions(-) diff --git a/cassettes/testgeoapis.json b/cassettes/testgeoapis.json index 47ab938..0df6d7d 100644 --- a/cassettes/testgeoapis.json +++ b/cassettes/testgeoapis.json @@ -4,30 +4,39 @@ { "response": { "status": { - "message": "OK", - "code": 200 - }, - "body": { - "string": "{\"result\":{\"places\":[{\"id\":\"1d019624e6b4dcff\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1d019624e6b4dcff.json\",\"place_type\":\"neighborhood\",\"name\":\"South of Market\",\"full_name\":\"South of Market, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.39907358812408,37.7766885],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.418714,37.764094],[-122.418714,37.789283],[-122.379692,37.789283],[-122.379692,37.764094],[-122.418714,37.764094]]]},\"attributes\":{}},{\"id\":\"5c92ab5379de3839\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5c92ab5379de3839.json\",\"place_type\":\"neighborhood\",\"name\":\"South Beach\",\"full_name\":\"South Beach, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.39150176831586,37.78781925],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.401378,37.7776245],[-122.401378,37.798014],[-122.3809835,37.798014],[-122.3809835,37.7776245],[-122.401378,37.7776245]]]},\"attributes\":{}},{\"id\":\"640e4689c80fb4c5\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/640e4689c80fb4c5.json\",\"place_type\":\"neighborhood\",\"name\":\"Upper Market\",\"full_name\":\"Upper Market, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.43473909975835,37.765715549999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.4465168,37.7617761],[-122.4465168,37.769655],[-122.426242,37.769655],[-122.426242,37.7617761],[-122.4465168,37.7617761]]]},\"attributes\":{}},{\"id\":\"746cc5651750e057\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/746cc5651750e057.json\",\"place_type\":\"city\",\"name\":\"South San Francisco\",\"full_name\":\"South San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5122804691e5fecc\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5122804691e5fecc.json\",\"place_type\":\"admin\",\"name\":\"San Francisco-Oakland-San Jose CA\",\"full_name\":\"San Francisco-Oakland-San Jose CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.69275872766775,38.4815095],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-124.134889,36.960549],[-124.134889,40.00247],[-121.208198,40.00247],[-121.208198,36.960549],[-124.134889,36.960549]]]},\"attributes\":{}}],\"centroid\":[-122.41977694649856,37.65879855],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.471871,37.6345111],[-122.471871,37.683086],[-122.374366,37.683086],[-122.374366,37.6345111],[-122.471871,37.6345111]]]},\"attributes\":{}},{\"id\":\"78f29e0fbc3e5c3b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/78f29e0fbc3e5c3b.json\",\"place_type\":\"neighborhood\",\"name\":\"South of Midtown\",\"full_name\":\"South of Midtown, Palo Alto\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"3ad0f706b3fa62a8\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3ad0f706b3fa62a8.json\",\"place_type\":\"city\",\"name\":\"Palo Alto\",\"full_name\":\"Palo Alto, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.12483174925427,37.4266935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.190523,37.362824],[-122.190523,37.465918],[-122.097537,37.465918],[-122.097537,37.362824],[-122.190523,37.362824]]]},\"attributes\":{}}],\"centroid\":[-122.12356261764852,37.4233563],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.131468,37.417566],[-122.131468,37.4291466],[-122.114745,37.4291466],[-122.114745,37.417566],[-122.131468,37.417566]]]},\"attributes\":{}},{\"id\":\"3412e9dd2250b64d\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3412e9dd2250b64d.json\",\"place_type\":\"neighborhood\",\"name\":\"University South\",\"full_name\":\"University South, Palo Alto\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"3ad0f706b3fa62a8\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3ad0f706b3fa62a8.json\",\"place_type\":\"city\",\"name\":\"Palo Alto\",\"full_name\":\"Palo Alto, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.12483174925427,37.4266935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.190523,37.362824],[-122.190523,37.465918],[-122.097537,37.465918],[-122.097537,37.362824],[-122.190523,37.362824]]]},\"attributes\":{}}],\"centroid\":[-122.15497252712422,37.444521],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.164271,37.438302],[-122.164271,37.45074],[-122.143171,37.45074],[-122.143171,37.438302],[-122.164271,37.438302]]]},\"attributes\":{}},{\"id\":\"18cccad2227da65c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/18cccad2227da65c.json\",\"place_type\":\"neighborhood\",\"name\":\"Market Almaden\",\"full_name\":\"Market Almaden, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.8873146606479,37.32716535],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.890935,37.3243217],[-121.890935,37.330009],[-121.883041,37.330009],[-121.883041,37.3243217],[-121.890935,37.3243217]]]},\"attributes\":{}},{\"id\":\"2a240dbd5e3d0d60\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/2a240dbd5e3d0d60.json\",\"place_type\":\"neighborhood\",\"name\":\"Cumberland South\",\"full_name\":\"Cumberland South, Sunnyvale\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"45cadd6ef118ec9f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/45cadd6ef118ec9f.json\",\"place_type\":\"city\",\"name\":\"Sunnyvale\",\"full_name\":\"Sunnyvale, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.0234592350388,37.378396949999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.065206,37.3300682],[-122.065206,37.4267257],[-121.982475,37.4267257],[-121.982475,37.3300682],[-122.065206,37.3300682]]]},\"attributes\":{}}],\"centroid\":[-122.04593444938885,37.36242595],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.050352,37.3594382],[-122.050352,37.3654137],[-122.0414998,37.3654137],[-122.0414998,37.3594382],[-122.050352,37.3594382]]]},\"attributes\":{}},{\"id\":\"2fa88dca68b9df96\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/2fa88dca68b9df96.json\",\"place_type\":\"neighborhood\",\"name\":\"South Los Altos\",\"full_name\":\"South Los Altos, Los Altos\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"6a4364ea6f987c10\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a4364ea6f987c10.json\",\"place_type\":\"city\",\"name\":\"Los Altos\",\"full_name\":\"Los Altos, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.10889245857358,37.368202499999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.129474,37.329932],[-122.129474,37.406473],[-122.060782,37.406473],[-122.060782,37.329932],[-122.129474,37.329932]]]},\"attributes\":{}}],\"centroid\":[-122.06888067307838,37.3483716],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.078002,37.337478],[-122.078002,37.3592652],[-122.05969,37.3592652],[-122.05969,37.337478],[-122.078002,37.337478]]]},\"attributes\":{}},{\"id\":\"18b634927abdd39d\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/18b634927abdd39d.json\",\"place_type\":\"neighborhood\",\"name\":\"Calabazas South\",\"full_name\":\"Calabazas South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-122.02618293055971,37.297557999999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.03155,37.2939709],[-122.03155,37.3011451],[-122.0236949,37.3011451],[-122.0236949,37.2939709],[-122.03155,37.2939709]]]},\"attributes\":{}},{\"id\":\"05eacbd8d1aa01cd\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/05eacbd8d1aa01cd.json\",\"place_type\":\"neighborhood\",\"name\":\"Flickinger South\",\"full_name\":\"Flickinger South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86775371373525,37.384696149999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.873283,37.379857],[-121.873283,37.3895353],[-121.862908,37.3895353],[-121.862908,37.379857],[-121.873283,37.379857]]]},\"attributes\":{}},{\"id\":\"7262a1ac091221f6\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7262a1ac091221f6.json\",\"place_type\":\"neighborhood\",\"name\":\"Vinci South\",\"full_name\":\"Vinci South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.87313219354841,37.378609],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8786112,37.371757],[-121.8786112,37.385461],[-121.867352,37.385461],[-121.867352,37.371757],[-121.8786112,37.371757]]]},\"attributes\":{}},{\"id\":\"02d7ed9dda1ec670\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/02d7ed9dda1ec670.json\",\"place_type\":\"neighborhood\",\"name\":\"South Campus\",\"full_name\":\"South Campus, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.87916110601788,37.3314245],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.885042,37.326856],[-121.885042,37.335993],[-121.871896,37.335993],[-121.871896,37.326856],[-121.885042,37.326856]]]},\"attributes\":{}},{\"id\":\"4b0d4e092c2bbf38\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/4b0d4e092c2bbf38.json\",\"place_type\":\"neighborhood\",\"name\":\"Brookwood South\",\"full_name\":\"Brookwood South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86383189368885,37.3362143],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.866968,37.331588],[-121.866968,37.3408406],[-121.8615862,37.3408406],[-121.8615862,37.331588],[-121.866968,37.331588]]]},\"attributes\":{}},{\"id\":\"6a2cd44438fa430a\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a2cd44438fa430a.json\",\"place_type\":\"neighborhood\",\"name\":\"Clayton South\",\"full_name\":\"Clayton South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.79798000623644,37.353122],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.80151,37.3506109],[-121.80151,37.3556331],[-121.7948906,37.3556331],[-121.7948906,37.3506109],[-121.80151,37.3506109]]]},\"attributes\":{}},{\"id\":\"59f07a02656e458c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/59f07a02656e458c.json\",\"place_type\":\"city\",\"name\":\"South Woodbridge\",\"full_name\":\"South Woodbridge, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"6633b43ec374a43f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6633b43ec374a43f.json\",\"place_type\":\"admin\",\"name\":\"Sacramento-Stockton-Modesto CA\",\"full_name\":\"Sacramento-Stockton-Modesto CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.27001976746145,38.863895],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.78509,37.396813],[-122.78509,40.330977],[-120.00082,40.330977],[-120.00082,37.396813],[-122.78509,37.396813]]]},\"attributes\":{}}],\"centroid\":[-121.30605854083468,38.153611999999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.318079,38.148486],[-121.318079,38.158738],[-121.298049,38.158738],[-121.298049,38.148486],[-121.318079,38.148486]]]},\"attributes\":{}},{\"id\":\"3f690c039272386c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3f690c039272386c.json\",\"place_type\":\"neighborhood\",\"name\":\"Little Portugal South\",\"full_name\":\"Little Portugal South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.85740301686634,37.34958345],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.861838,37.3463615],[-121.861838,37.3528054],[-121.8526191,37.3528054],[-121.8526191,37.3463615],[-121.861838,37.3463615]]]},\"attributes\":{}},{\"id\":\"5dfcb35d4822804e\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5dfcb35d4822804e.json\",\"place_type\":\"neighborhood\",\"name\":\"Hillview South\",\"full_name\":\"Hillview South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86240481105543,37.242997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8650841,37.241598],[-121.8650841,37.244396],[-121.860323,37.244396],[-121.860323,37.241598],[-121.8650841,37.241598]]]},\"attributes\":{}},{\"id\":\"27ae3d61c0cae65b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/27ae3d61c0cae65b.json\",\"place_type\":\"neighborhood\",\"name\":\"Mount Pleasant South\",\"full_name\":\"Mount Pleasant South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.80861903129176,37.350156049999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8142683,37.3446521],[-121.8142683,37.35566],[-121.7999127,37.35566],[-121.7999127,37.3446521],[-121.8142683,37.3446521]]]},\"attributes\":{}},{\"id\":\"6a138a4829d9e5e5\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a138a4829d9e5e5.json\",\"place_type\":\"neighborhood\",\"name\":\"Woodside of Almaden\",\"full_name\":\"Woodside of Almaden, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.8281506995455,37.20693555],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8338608,37.201186],[-121.8338608,37.2126851],[-121.8241277,37.2126851],[-121.8241277,37.201186],[-121.8338608,37.201186]]]},\"attributes\":{}},{\"id\":\"61582aaad5b1a0d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/61582aaad5b1a0d1.json\",\"place_type\":\"neighborhood\",\"name\":\"Creekside South\",\"full_name\":\"Creekside South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.82827574598772,37.196902],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.833133,37.192618],[-121.833133,37.201186],[-121.823138,37.201186],[-121.823138,37.192618],[-121.833133,37.192618]]]},\"attributes\":{}},{\"id\":\"75daccb751921c62\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/75daccb751921c62.json\",\"place_type\":\"neighborhood\",\"name\":\"Willow Glen South Lincoln Glen\",\"full_name\":\"Willow Glen South Lincoln Glen, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.89391014983806,37.2771557],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.912366,37.268005],[-121.912366,37.2863064],[-121.8769364,37.2863064],[-121.8769364,37.268005],[-121.912366,37.268005]]]},\"attributes\":{}},{\"id\":\"610b1535bed93356\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/610b1535bed93356.json\",\"place_type\":\"neighborhood\",\"name\":\"Hidden Glen South\",\"full_name\":\"Hidden Glen South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.84527479043146,37.23503045],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8511872,37.2311979],[-121.8511872,37.238863],[-121.83949,37.238863],[-121.83949,37.2311979],[-121.8511872,37.2311979]]]},\"attributes\":{}}],\"token\":\"e70e5b2a1c04e2f38d507b4fab266ece\"},\"query\":{\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/similar_places.json?name=South+of+Market+Child+Care&lat=37.7821120598956&long=-122.400612831116\",\"type\":\"similar_places\",\"params\":{\"coordinates\":{\"type\":\"Point\",\"coordinates\":[-122.400612831116,37.7821120598956]},\"name\":\"South of Market Child Care\",\"contained_within\":null,\"strict\":false,\"query\":null,\"autocomplete\":null,\"accuracy\":null,\"granularity\":\"\"}}}" + "code": 200, + "message": "OK" }, "headers": { - "content-length": [ - "22108" + "set-cookie": [ + "guest_id=v1%3A147838223103052625; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 21:43:51 UTC" + ], + "content-type": [ + "application/json;charset=utf-8" ], "x-transaction": [ "00040cfe00098463" ], - "last-modified": [ - "Sat, 05 Nov 2016 21:43:51 GMT" + "x-rate-limit-limit": [ + "15" ], - "x-rate-limit-reset": [ - "1478382701" + "x-rate-limit-remaining": [ + "13" ], - "strict-transport-security": [ - "max-age=631138519" + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" ], - "server": [ - "tsa_b" + "content-length": [ + "22108" + ], + "status": [ + "200 OK" + ], + "x-twitter-response-tags": [ + "BouncerCompliant" + ], + "content-disposition": [ + "attachment; filename=json.json" ], "cache-control": [ "no-cache, no-store, must-revalidate, pre-check=0, post-check=0" @@ -35,91 +44,183 @@ "x-content-type-options": [ "nosniff" ], - "x-rate-limit-remaining": [ - "13" + "server": [ + "tsa_b" + ], + "x-access-level": [ + "read-write-directmessages" + ], + "last-modified": [ + "Sat, 05 Nov 2016 21:43:51 GMT" + ], + "pragma": [ + "no-cache" + ], + "x-xss-protection": [ + "1; mode=block" ], "date": [ "Sat, 05 Nov 2016 21:43:51 GMT" ], - "x-twitter-response-tags": [ - "BouncerCompliant" + "x-rate-limit-reset": [ + "1478382701" ], - "x-rate-limit-limit": [ - "15" + "strict-transport-security": [ + "max-age=631138519" ], "x-frame-options": [ "SAMEORIGIN" ], + "x-response-time": [ + "42" + ], + "x-connection-hash": [ + "45c8c4c579fbdb3aed011a07a90abdc7" + ] + }, + "body": { + "string": "{\"result\":{\"places\":[{\"id\":\"1d019624e6b4dcff\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1d019624e6b4dcff.json\",\"place_type\":\"neighborhood\",\"name\":\"South of Market\",\"full_name\":\"South of Market, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.39907358812408,37.7766885],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.418714,37.764094],[-122.418714,37.789283],[-122.379692,37.789283],[-122.379692,37.764094],[-122.418714,37.764094]]]},\"attributes\":{}},{\"id\":\"5c92ab5379de3839\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5c92ab5379de3839.json\",\"place_type\":\"neighborhood\",\"name\":\"South Beach\",\"full_name\":\"South Beach, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.39150176831586,37.78781925],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.401378,37.7776245],[-122.401378,37.798014],[-122.3809835,37.798014],[-122.3809835,37.7776245],[-122.401378,37.7776245]]]},\"attributes\":{}},{\"id\":\"640e4689c80fb4c5\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/640e4689c80fb4c5.json\",\"place_type\":\"neighborhood\",\"name\":\"Upper Market\",\"full_name\":\"Upper Market, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.43473909975835,37.765715549999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.4465168,37.7617761],[-122.4465168,37.769655],[-122.426242,37.769655],[-122.426242,37.7617761],[-122.4465168,37.7617761]]]},\"attributes\":{}},{\"id\":\"746cc5651750e057\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/746cc5651750e057.json\",\"place_type\":\"city\",\"name\":\"South San Francisco\",\"full_name\":\"South San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5122804691e5fecc\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5122804691e5fecc.json\",\"place_type\":\"admin\",\"name\":\"San Francisco-Oakland-San Jose CA\",\"full_name\":\"San Francisco-Oakland-San Jose CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.69275872766775,38.4815095],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-124.134889,36.960549],[-124.134889,40.00247],[-121.208198,40.00247],[-121.208198,36.960549],[-124.134889,36.960549]]]},\"attributes\":{}}],\"centroid\":[-122.41977694649856,37.65879855],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.471871,37.6345111],[-122.471871,37.683086],[-122.374366,37.683086],[-122.374366,37.6345111],[-122.471871,37.6345111]]]},\"attributes\":{}},{\"id\":\"78f29e0fbc3e5c3b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/78f29e0fbc3e5c3b.json\",\"place_type\":\"neighborhood\",\"name\":\"South of Midtown\",\"full_name\":\"South of Midtown, Palo Alto\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"3ad0f706b3fa62a8\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3ad0f706b3fa62a8.json\",\"place_type\":\"city\",\"name\":\"Palo Alto\",\"full_name\":\"Palo Alto, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.12483174925427,37.4266935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.190523,37.362824],[-122.190523,37.465918],[-122.097537,37.465918],[-122.097537,37.362824],[-122.190523,37.362824]]]},\"attributes\":{}}],\"centroid\":[-122.12356261764852,37.4233563],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.131468,37.417566],[-122.131468,37.4291466],[-122.114745,37.4291466],[-122.114745,37.417566],[-122.131468,37.417566]]]},\"attributes\":{}},{\"id\":\"3412e9dd2250b64d\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3412e9dd2250b64d.json\",\"place_type\":\"neighborhood\",\"name\":\"University South\",\"full_name\":\"University South, Palo Alto\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"3ad0f706b3fa62a8\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3ad0f706b3fa62a8.json\",\"place_type\":\"city\",\"name\":\"Palo Alto\",\"full_name\":\"Palo Alto, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.12483174925427,37.4266935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.190523,37.362824],[-122.190523,37.465918],[-122.097537,37.465918],[-122.097537,37.362824],[-122.190523,37.362824]]]},\"attributes\":{}}],\"centroid\":[-122.15497252712422,37.444521],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.164271,37.438302],[-122.164271,37.45074],[-122.143171,37.45074],[-122.143171,37.438302],[-122.164271,37.438302]]]},\"attributes\":{}},{\"id\":\"18cccad2227da65c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/18cccad2227da65c.json\",\"place_type\":\"neighborhood\",\"name\":\"Market Almaden\",\"full_name\":\"Market Almaden, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.8873146606479,37.32716535],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.890935,37.3243217],[-121.890935,37.330009],[-121.883041,37.330009],[-121.883041,37.3243217],[-121.890935,37.3243217]]]},\"attributes\":{}},{\"id\":\"2a240dbd5e3d0d60\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/2a240dbd5e3d0d60.json\",\"place_type\":\"neighborhood\",\"name\":\"Cumberland South\",\"full_name\":\"Cumberland South, Sunnyvale\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"45cadd6ef118ec9f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/45cadd6ef118ec9f.json\",\"place_type\":\"city\",\"name\":\"Sunnyvale\",\"full_name\":\"Sunnyvale, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.0234592350388,37.378396949999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.065206,37.3300682],[-122.065206,37.4267257],[-121.982475,37.4267257],[-121.982475,37.3300682],[-122.065206,37.3300682]]]},\"attributes\":{}}],\"centroid\":[-122.04593444938885,37.36242595],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.050352,37.3594382],[-122.050352,37.3654137],[-122.0414998,37.3654137],[-122.0414998,37.3594382],[-122.050352,37.3594382]]]},\"attributes\":{}},{\"id\":\"2fa88dca68b9df96\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/2fa88dca68b9df96.json\",\"place_type\":\"neighborhood\",\"name\":\"South Los Altos\",\"full_name\":\"South Los Altos, Los Altos\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"6a4364ea6f987c10\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a4364ea6f987c10.json\",\"place_type\":\"city\",\"name\":\"Los Altos\",\"full_name\":\"Los Altos, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.10889245857358,37.368202499999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.129474,37.329932],[-122.129474,37.406473],[-122.060782,37.406473],[-122.060782,37.329932],[-122.129474,37.329932]]]},\"attributes\":{}}],\"centroid\":[-122.06888067307838,37.3483716],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.078002,37.337478],[-122.078002,37.3592652],[-122.05969,37.3592652],[-122.05969,37.337478],[-122.078002,37.337478]]]},\"attributes\":{}},{\"id\":\"18b634927abdd39d\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/18b634927abdd39d.json\",\"place_type\":\"neighborhood\",\"name\":\"Calabazas South\",\"full_name\":\"Calabazas South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-122.02618293055971,37.297557999999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.03155,37.2939709],[-122.03155,37.3011451],[-122.0236949,37.3011451],[-122.0236949,37.2939709],[-122.03155,37.2939709]]]},\"attributes\":{}},{\"id\":\"05eacbd8d1aa01cd\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/05eacbd8d1aa01cd.json\",\"place_type\":\"neighborhood\",\"name\":\"Flickinger South\",\"full_name\":\"Flickinger South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86775371373525,37.384696149999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.873283,37.379857],[-121.873283,37.3895353],[-121.862908,37.3895353],[-121.862908,37.379857],[-121.873283,37.379857]]]},\"attributes\":{}},{\"id\":\"7262a1ac091221f6\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7262a1ac091221f6.json\",\"place_type\":\"neighborhood\",\"name\":\"Vinci South\",\"full_name\":\"Vinci South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.87313219354841,37.378609],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8786112,37.371757],[-121.8786112,37.385461],[-121.867352,37.385461],[-121.867352,37.371757],[-121.8786112,37.371757]]]},\"attributes\":{}},{\"id\":\"02d7ed9dda1ec670\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/02d7ed9dda1ec670.json\",\"place_type\":\"neighborhood\",\"name\":\"South Campus\",\"full_name\":\"South Campus, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.87916110601788,37.3314245],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.885042,37.326856],[-121.885042,37.335993],[-121.871896,37.335993],[-121.871896,37.326856],[-121.885042,37.326856]]]},\"attributes\":{}},{\"id\":\"4b0d4e092c2bbf38\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/4b0d4e092c2bbf38.json\",\"place_type\":\"neighborhood\",\"name\":\"Brookwood South\",\"full_name\":\"Brookwood South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86383189368885,37.3362143],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.866968,37.331588],[-121.866968,37.3408406],[-121.8615862,37.3408406],[-121.8615862,37.331588],[-121.866968,37.331588]]]},\"attributes\":{}},{\"id\":\"6a2cd44438fa430a\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a2cd44438fa430a.json\",\"place_type\":\"neighborhood\",\"name\":\"Clayton South\",\"full_name\":\"Clayton South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.79798000623644,37.353122],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.80151,37.3506109],[-121.80151,37.3556331],[-121.7948906,37.3556331],[-121.7948906,37.3506109],[-121.80151,37.3506109]]]},\"attributes\":{}},{\"id\":\"59f07a02656e458c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/59f07a02656e458c.json\",\"place_type\":\"city\",\"name\":\"South Woodbridge\",\"full_name\":\"South Woodbridge, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"6633b43ec374a43f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6633b43ec374a43f.json\",\"place_type\":\"admin\",\"name\":\"Sacramento-Stockton-Modesto CA\",\"full_name\":\"Sacramento-Stockton-Modesto CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.27001976746145,38.863895],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.78509,37.396813],[-122.78509,40.330977],[-120.00082,40.330977],[-120.00082,37.396813],[-122.78509,37.396813]]]},\"attributes\":{}}],\"centroid\":[-121.30605854083468,38.153611999999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.318079,38.148486],[-121.318079,38.158738],[-121.298049,38.158738],[-121.298049,38.148486],[-121.318079,38.148486]]]},\"attributes\":{}},{\"id\":\"3f690c039272386c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3f690c039272386c.json\",\"place_type\":\"neighborhood\",\"name\":\"Little Portugal South\",\"full_name\":\"Little Portugal South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.85740301686634,37.34958345],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.861838,37.3463615],[-121.861838,37.3528054],[-121.8526191,37.3528054],[-121.8526191,37.3463615],[-121.861838,37.3463615]]]},\"attributes\":{}},{\"id\":\"5dfcb35d4822804e\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5dfcb35d4822804e.json\",\"place_type\":\"neighborhood\",\"name\":\"Hillview South\",\"full_name\":\"Hillview South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86240481105543,37.242997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8650841,37.241598],[-121.8650841,37.244396],[-121.860323,37.244396],[-121.860323,37.241598],[-121.8650841,37.241598]]]},\"attributes\":{}},{\"id\":\"27ae3d61c0cae65b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/27ae3d61c0cae65b.json\",\"place_type\":\"neighborhood\",\"name\":\"Mount Pleasant South\",\"full_name\":\"Mount Pleasant South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.80861903129176,37.350156049999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8142683,37.3446521],[-121.8142683,37.35566],[-121.7999127,37.35566],[-121.7999127,37.3446521],[-121.8142683,37.3446521]]]},\"attributes\":{}},{\"id\":\"6a138a4829d9e5e5\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a138a4829d9e5e5.json\",\"place_type\":\"neighborhood\",\"name\":\"Woodside of Almaden\",\"full_name\":\"Woodside of Almaden, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.8281506995455,37.20693555],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8338608,37.201186],[-121.8338608,37.2126851],[-121.8241277,37.2126851],[-121.8241277,37.201186],[-121.8338608,37.201186]]]},\"attributes\":{}},{\"id\":\"61582aaad5b1a0d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/61582aaad5b1a0d1.json\",\"place_type\":\"neighborhood\",\"name\":\"Creekside South\",\"full_name\":\"Creekside South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.82827574598772,37.196902],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.833133,37.192618],[-121.833133,37.201186],[-121.823138,37.201186],[-121.823138,37.192618],[-121.833133,37.192618]]]},\"attributes\":{}},{\"id\":\"75daccb751921c62\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/75daccb751921c62.json\",\"place_type\":\"neighborhood\",\"name\":\"Willow Glen South Lincoln Glen\",\"full_name\":\"Willow Glen South Lincoln Glen, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.89391014983806,37.2771557],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.912366,37.268005],[-121.912366,37.2863064],[-121.8769364,37.2863064],[-121.8769364,37.268005],[-121.912366,37.268005]]]},\"attributes\":{}},{\"id\":\"610b1535bed93356\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/610b1535bed93356.json\",\"place_type\":\"neighborhood\",\"name\":\"Hidden Glen South\",\"full_name\":\"Hidden Glen South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.84527479043146,37.23503045],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8511872,37.2311979],[-121.8511872,37.238863],[-121.83949,37.238863],[-121.83949,37.2311979],[-121.8511872,37.2311979]]]},\"attributes\":{}}],\"token\":\"e70e5b2a1c04e2f38d507b4fab266ece\"},\"query\":{\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/similar_places.json?name=South+of+Market+Child+Care&lat=37.7821120598956&long=-122.400612831116\",\"type\":\"similar_places\",\"params\":{\"coordinates\":{\"type\":\"Point\",\"coordinates\":[-122.400612831116,37.7821120598956]},\"name\":\"South of Market Child Care\",\"contained_within\":null,\"strict\":false,\"query\":null,\"autocomplete\":null,\"accuracy\":null,\"granularity\":\"\"}}}" + } + }, + "request": { + "headers": { + "Host": [ + "api.twitter.com" + ] + }, + "uri": "https://api.twitter.com/1.1/geo/similar_places.json?name=South+of+Market+Child+Care&lat=37.7821120598956&long=-122.400612831116", + "method": "GET", + "body": null + } + }, + { + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "set-cookie": [ + "guest_id=v1%3A147838223125727714; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 21:43:51 UTC" + ], + "content-type": [ + "application/json;charset=utf-8" + ], + "x-transaction": [ + "0073beab000e6d24" + ], + "x-rate-limit-limit": [ + "75" + ], + "x-rate-limit-remaining": [ + "73" + ], + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" + ], + "content-length": [ + "1022" + ], "status": [ "200 OK" ], - "x-xss-protection": [ - "1; mode=block" + "x-twitter-response-tags": [ + "BouncerCompliant" ], "content-disposition": [ "attachment; filename=json.json" ], - "expires": [ - "Tue, 31 Mar 1981 05:00:00 GMT" + "cache-control": [ + "no-cache, no-store, must-revalidate, pre-check=0, post-check=0" ], - "content-type": [ - "application/json;charset=utf-8" + "x-content-type-options": [ + "nosniff" ], - "set-cookie": [ - "guest_id=v1%3A147838223103052625; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 21:43:51 UTC" + "server": [ + "tsa_b" + ], + "x-access-level": [ + "read-write-directmessages" + ], + "last-modified": [ + "Sat, 05 Nov 2016 21:43:51 GMT" ], "pragma": [ "no-cache" ], - "x-access-level": [ - "read-write-directmessages" + "x-xss-protection": [ + "1; mode=block" + ], + "date": [ + "Sat, 05 Nov 2016 21:43:51 GMT" + ], + "x-rate-limit-reset": [ + "1478382701" + ], + "strict-transport-security": [ + "max-age=631138519" + ], + "x-frame-options": [ + "SAMEORIGIN" ], "x-response-time": [ - "42" + "14" ], "x-connection-hash": [ - "45c8c4c579fbdb3aed011a07a90abdc7" + "4e8a3723ec724b48fd0229816b5e53a0" ] + }, + "body": { + "string": "{\"id\":\"1ffd3558f2e98349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1ffd3558f2e98349.json\",\"place_type\":\"neighborhood\",\"name\":\"Dogpatch\",\"full_name\":\"Dogpatch, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"geometry\":null,\"polylines\":[],\"centroid\":[-122.39013394275293,37.760263515],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.39307792,37.75613103],[-122.39307792,37.764396],[-122.38719588,37.764396],[-122.38719588,37.75613103],[-122.39307792,37.75613103]]]},\"attributes\":{\"162834:id\":\"73222\",\"geotagCount\":\"2\"}}" } }, "request": { - "method": "GET", - "uri": "https://api.twitter.com/1.1/geo/similar_places.json?name=South+of+Market+Child+Care&lat=37.7821120598956&long=-122.400612831116", - "body": null, "headers": { "Host": [ "api.twitter.com" ] - } + }, + "uri": "https://api.twitter.com/1.1/geo/id/1ffd3558f2e98349.json", + "method": "GET", + "body": null } }, { "response": { "status": { - "message": "OK", - "code": 200 - }, - "body": { - "string": "{\"id\":\"1ffd3558f2e98349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1ffd3558f2e98349.json\",\"place_type\":\"neighborhood\",\"name\":\"Dogpatch\",\"full_name\":\"Dogpatch, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"geometry\":null,\"polylines\":[],\"centroid\":[-122.39013394275293,37.760263515],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.39307792,37.75613103],[-122.39307792,37.764396],[-122.38719588,37.764396],[-122.38719588,37.75613103],[-122.39307792,37.75613103]]]},\"attributes\":{\"162834:id\":\"73222\",\"geotagCount\":\"2\"}}" + "code": 200, + "message": "OK" }, "headers": { - "content-length": [ - "1022" + "set-cookie": [ + "guest_id=v1%3A147838223142616111; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 21:43:51 UTC" + ], + "content-type": [ + "application/json;charset=utf-8" ], "x-transaction": [ - "0073beab000e6d24" + "006d80f40070006c" ], - "last-modified": [ - "Sat, 05 Nov 2016 21:43:51 GMT" + "x-rate-limit-limit": [ + "15" ], - "x-rate-limit-reset": [ - "1478382701" + "x-rate-limit-remaining": [ + "13" ], - "strict-transport-security": [ - "max-age=631138519" + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" ], - "server": [ - "tsa_b" + "content-length": [ + "3505" + ], + "status": [ + "200 OK" + ], + "x-twitter-response-tags": [ + "BouncerCompliant" + ], + "content-disposition": [ + "attachment; filename=json.json" ], "cache-control": [ "no-cache, no-store, must-revalidate, pre-check=0, post-check=0" @@ -127,62 +228,145 @@ "x-content-type-options": [ "nosniff" ], - "x-rate-limit-remaining": [ - "73" + "server": [ + "tsa_b" + ], + "x-access-level": [ + "read-write-directmessages" + ], + "last-modified": [ + "Sat, 05 Nov 2016 21:43:51 GMT" + ], + "pragma": [ + "no-cache" + ], + "x-xss-protection": [ + "1; mode=block" ], "date": [ "Sat, 05 Nov 2016 21:43:51 GMT" ], - "x-twitter-response-tags": [ - "BouncerCompliant" + "x-rate-limit-reset": [ + "1478382702" ], - "x-rate-limit-limit": [ - "75" + "strict-transport-security": [ + "max-age=631138519" ], "x-frame-options": [ "SAMEORIGIN" ], + "x-response-time": [ + "19" + ], + "x-connection-hash": [ + "3b78ec720a7e56bf839ee4ee4e65a858" + ] + }, + "body": { + "string": "{\"result\":{\"places\":[{\"id\":\"c3f37afa9efcf94b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/c3f37afa9efcf94b.json\",\"place_type\":\"city\",\"name\":\"Austin\",\"full_name\":\"Austin, TX\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d8a0502d41bf990\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d8a0502d41bf990.json\",\"place_type\":\"admin\",\"name\":\"Austin TX\",\"full_name\":\"Austin TX\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-98.28877833973715,30.645099000000002],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-99.484755,29.56659],[-99.484755,31.723608],[-96.640595,31.723608],[-96.640595,29.56659],[-99.484755,29.56659]]]},\"attributes\":{}}],\"centroid\":[-97.71630992597375,30.323345699999997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.928935,30.127892],[-97.928935,30.5187994],[-97.5805133,30.5187994],[-97.5805133,30.127892],[-97.928935,30.127892]]]},\"attributes\":{}},{\"id\":\"1fa5d78e5cf5f072\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1fa5d78e5cf5f072.json\",\"place_type\":\"neighborhood\",\"name\":\"Downtown\",\"full_name\":\"Downtown, Austin\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"c3f37afa9efcf94b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/c3f37afa9efcf94b.json\",\"place_type\":\"city\",\"name\":\"Austin\",\"full_name\":\"Austin, TX\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-97.71630992597375,30.323345699999997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.928935,30.127892],[-97.928935,30.5187994],[-97.5805133,30.5187994],[-97.5805133,30.127892],[-97.928935,30.127892]]]},\"attributes\":{}}],\"centroid\":[-97.74507218260459,30.26724255],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.7567,30.2505491],[-97.7567,30.283936],[-97.7314833,30.283936],[-97.7314833,30.2505491],[-97.7567,30.2505491]]]},\"attributes\":{}},{\"id\":\"e0060cda70f5f341\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/e0060cda70f5f341.json\",\"place_type\":\"admin\",\"name\":\"Texas\",\"full_name\":\"Texas, USA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"96683cc9126741d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/96683cc9126741d1.json\",\"place_type\":\"country\",\"name\":\"United States\",\"full_name\":\"United States\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-98.99308143101959,36.890333500000004],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-179.231086,13.182335],[-179.231086,71.434357],[179.859685,71.434357],[179.859685,13.182335],[-179.231086,13.182335]]]},\"attributes\":{}}],\"centroid\":[-99.68325796647969,31.1688935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-106.645646,25.837092],[-106.645646,36.500695],[-93.508131,36.500695],[-93.508131,25.837092],[-106.645646,25.837092]]]},\"attributes\":{}},{\"id\":\"96683cc9126741d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/96683cc9126741d1.json\",\"place_type\":\"country\",\"name\":\"United States\",\"full_name\":\"United States\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[],\"centroid\":[-98.99308143101959,36.890333500000004],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-179.231086,13.182335],[-179.231086,71.434357],[179.859685,71.434357],[179.859685,13.182335],[-179.231086,13.182335]]]},\"attributes\":{}}]},\"query\":{\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/reverse_geocode.json?lat=30.267370168467806&long=-97.74261474609375\",\"type\":\"reverse_geocode\",\"params\":{\"accuracy\":0.0,\"coordinates\":{\"type\":\"Point\",\"coordinates\":[-97.74261474609375,30.267370168467806]},\"granularity\":\"neighborhood\"}}}" + } + }, + "request": { + "headers": { + "Host": [ + "api.twitter.com" + ] + }, + "uri": "https://api.twitter.com/1.1/geo/reverse_geocode.json?lat=30.267370168467806&long=-97.74261474609375", + "method": "GET", + "body": null + } + }, + { + "response": { + "status": { + "message": "OK", + "code": 200 + }, + "headers": { + "set-cookie": [ + "guest_id=v1%3A147838384005047807; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 22:10:40 UTC" + ], + "content-type": [ + "application/json;charset=utf-8" + ], + "x-transaction": [ + "0084f3a6007c11db" + ], + "x-rate-limit-limit": [ + "15" + ], + "x-rate-limit-remaining": [ + "14" + ], + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" + ], + "content-length": [ + "22108" + ], "status": [ "200 OK" ], - "x-xss-protection": [ - "1; mode=block" + "x-twitter-response-tags": [ + "BouncerCompliant" ], "content-disposition": [ "attachment; filename=json.json" ], - "expires": [ - "Tue, 31 Mar 1981 05:00:00 GMT" + "cache-control": [ + "no-cache, no-store, must-revalidate, pre-check=0, post-check=0" ], - "content-type": [ - "application/json;charset=utf-8" + "x-content-type-options": [ + "nosniff" ], - "set-cookie": [ - "guest_id=v1%3A147838223125727714; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 21:43:51 UTC" + "server": [ + "tsa_b" + ], + "x-access-level": [ + "read-write-directmessages" + ], + "last-modified": [ + "Sat, 05 Nov 2016 22:10:40 GMT" ], "pragma": [ "no-cache" ], - "x-access-level": [ - "read-write-directmessages" + "x-xss-protection": [ + "1; mode=block" + ], + "date": [ + "Sat, 05 Nov 2016 22:10:40 GMT" + ], + "x-rate-limit-reset": [ + "1478384740" + ], + "strict-transport-security": [ + "max-age=631138519" + ], + "x-frame-options": [ + "SAMEORIGIN" ], "x-response-time": [ - "14" + "59" ], "x-connection-hash": [ - "4e8a3723ec724b48fd0229816b5e53a0" + "92369d2943520564f3df452ec8aa539c" ] + }, + "body": { + "string": "{\"result\":{\"places\":[{\"id\":\"1d019624e6b4dcff\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1d019624e6b4dcff.json\",\"place_type\":\"neighborhood\",\"name\":\"South of Market\",\"full_name\":\"South of Market, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.39907358812408,37.7766885],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.418714,37.764094],[-122.418714,37.789283],[-122.379692,37.789283],[-122.379692,37.764094],[-122.418714,37.764094]]]},\"attributes\":{}},{\"id\":\"5c92ab5379de3839\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5c92ab5379de3839.json\",\"place_type\":\"neighborhood\",\"name\":\"South Beach\",\"full_name\":\"South Beach, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.39150176831586,37.78781925],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.401378,37.7776245],[-122.401378,37.798014],[-122.3809835,37.798014],[-122.3809835,37.7776245],[-122.401378,37.7776245]]]},\"attributes\":{}},{\"id\":\"640e4689c80fb4c5\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/640e4689c80fb4c5.json\",\"place_type\":\"neighborhood\",\"name\":\"Upper Market\",\"full_name\":\"Upper Market, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"centroid\":[-122.43473909975835,37.765715549999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.4465168,37.7617761],[-122.4465168,37.769655],[-122.426242,37.769655],[-122.426242,37.7617761],[-122.4465168,37.7617761]]]},\"attributes\":{}},{\"id\":\"746cc5651750e057\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/746cc5651750e057.json\",\"place_type\":\"city\",\"name\":\"South San Francisco\",\"full_name\":\"South San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5122804691e5fecc\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5122804691e5fecc.json\",\"place_type\":\"admin\",\"name\":\"San Francisco-Oakland-San Jose CA\",\"full_name\":\"San Francisco-Oakland-San Jose CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.69275872766775,38.4815095],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-124.134889,36.960549],[-124.134889,40.00247],[-121.208198,40.00247],[-121.208198,36.960549],[-124.134889,36.960549]]]},\"attributes\":{}}],\"centroid\":[-122.41977694649856,37.65879855],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.471871,37.6345111],[-122.471871,37.683086],[-122.374366,37.683086],[-122.374366,37.6345111],[-122.471871,37.6345111]]]},\"attributes\":{}},{\"id\":\"78f29e0fbc3e5c3b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/78f29e0fbc3e5c3b.json\",\"place_type\":\"neighborhood\",\"name\":\"South of Midtown\",\"full_name\":\"South of Midtown, Palo Alto\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"3ad0f706b3fa62a8\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3ad0f706b3fa62a8.json\",\"place_type\":\"city\",\"name\":\"Palo Alto\",\"full_name\":\"Palo Alto, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.12483174925427,37.4266935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.190523,37.362824],[-122.190523,37.465918],[-122.097537,37.465918],[-122.097537,37.362824],[-122.190523,37.362824]]]},\"attributes\":{}}],\"centroid\":[-122.12356261764852,37.4233563],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.131468,37.417566],[-122.131468,37.4291466],[-122.114745,37.4291466],[-122.114745,37.417566],[-122.131468,37.417566]]]},\"attributes\":{}},{\"id\":\"3412e9dd2250b64d\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3412e9dd2250b64d.json\",\"place_type\":\"neighborhood\",\"name\":\"University South\",\"full_name\":\"University South, Palo Alto\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"3ad0f706b3fa62a8\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3ad0f706b3fa62a8.json\",\"place_type\":\"city\",\"name\":\"Palo Alto\",\"full_name\":\"Palo Alto, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.12483174925427,37.4266935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.190523,37.362824],[-122.190523,37.465918],[-122.097537,37.465918],[-122.097537,37.362824],[-122.190523,37.362824]]]},\"attributes\":{}}],\"centroid\":[-122.15497252712422,37.444521],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.164271,37.438302],[-122.164271,37.45074],[-122.143171,37.45074],[-122.143171,37.438302],[-122.164271,37.438302]]]},\"attributes\":{}},{\"id\":\"18cccad2227da65c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/18cccad2227da65c.json\",\"place_type\":\"neighborhood\",\"name\":\"Market Almaden\",\"full_name\":\"Market Almaden, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.8873146606479,37.32716535],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.890935,37.3243217],[-121.890935,37.330009],[-121.883041,37.330009],[-121.883041,37.3243217],[-121.890935,37.3243217]]]},\"attributes\":{}},{\"id\":\"2a240dbd5e3d0d60\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/2a240dbd5e3d0d60.json\",\"place_type\":\"neighborhood\",\"name\":\"Cumberland South\",\"full_name\":\"Cumberland South, Sunnyvale\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"45cadd6ef118ec9f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/45cadd6ef118ec9f.json\",\"place_type\":\"city\",\"name\":\"Sunnyvale\",\"full_name\":\"Sunnyvale, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.0234592350388,37.378396949999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.065206,37.3300682],[-122.065206,37.4267257],[-121.982475,37.4267257],[-121.982475,37.3300682],[-122.065206,37.3300682]]]},\"attributes\":{}}],\"centroid\":[-122.04593444938885,37.36242595],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.050352,37.3594382],[-122.050352,37.3654137],[-122.0414998,37.3654137],[-122.0414998,37.3594382],[-122.050352,37.3594382]]]},\"attributes\":{}},{\"id\":\"2fa88dca68b9df96\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/2fa88dca68b9df96.json\",\"place_type\":\"neighborhood\",\"name\":\"South Los Altos\",\"full_name\":\"South Los Altos, Los Altos\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"6a4364ea6f987c10\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a4364ea6f987c10.json\",\"place_type\":\"city\",\"name\":\"Los Altos\",\"full_name\":\"Los Altos, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.10889245857358,37.368202499999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.129474,37.329932],[-122.129474,37.406473],[-122.060782,37.406473],[-122.060782,37.329932],[-122.129474,37.329932]]]},\"attributes\":{}}],\"centroid\":[-122.06888067307838,37.3483716],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.078002,37.337478],[-122.078002,37.3592652],[-122.05969,37.3592652],[-122.05969,37.337478],[-122.078002,37.337478]]]},\"attributes\":{}},{\"id\":\"18b634927abdd39d\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/18b634927abdd39d.json\",\"place_type\":\"neighborhood\",\"name\":\"Calabazas South\",\"full_name\":\"Calabazas South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-122.02618293055971,37.297557999999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.03155,37.2939709],[-122.03155,37.3011451],[-122.0236949,37.3011451],[-122.0236949,37.2939709],[-122.03155,37.2939709]]]},\"attributes\":{}},{\"id\":\"05eacbd8d1aa01cd\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/05eacbd8d1aa01cd.json\",\"place_type\":\"neighborhood\",\"name\":\"Flickinger South\",\"full_name\":\"Flickinger South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86775371373525,37.384696149999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.873283,37.379857],[-121.873283,37.3895353],[-121.862908,37.3895353],[-121.862908,37.379857],[-121.873283,37.379857]]]},\"attributes\":{}},{\"id\":\"7262a1ac091221f6\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7262a1ac091221f6.json\",\"place_type\":\"neighborhood\",\"name\":\"Vinci South\",\"full_name\":\"Vinci South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.87313219354841,37.378609],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8786112,37.371757],[-121.8786112,37.385461],[-121.867352,37.385461],[-121.867352,37.371757],[-121.8786112,37.371757]]]},\"attributes\":{}},{\"id\":\"02d7ed9dda1ec670\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/02d7ed9dda1ec670.json\",\"place_type\":\"neighborhood\",\"name\":\"South Campus\",\"full_name\":\"South Campus, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.87916110601788,37.3314245],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.885042,37.326856],[-121.885042,37.335993],[-121.871896,37.335993],[-121.871896,37.326856],[-121.885042,37.326856]]]},\"attributes\":{}},{\"id\":\"4b0d4e092c2bbf38\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/4b0d4e092c2bbf38.json\",\"place_type\":\"neighborhood\",\"name\":\"Brookwood South\",\"full_name\":\"Brookwood South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86383189368885,37.3362143],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.866968,37.331588],[-121.866968,37.3408406],[-121.8615862,37.3408406],[-121.8615862,37.331588],[-121.866968,37.331588]]]},\"attributes\":{}},{\"id\":\"6a2cd44438fa430a\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a2cd44438fa430a.json\",\"place_type\":\"neighborhood\",\"name\":\"Clayton South\",\"full_name\":\"Clayton South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.79798000623644,37.353122],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.80151,37.3506109],[-121.80151,37.3556331],[-121.7948906,37.3556331],[-121.7948906,37.3506109],[-121.80151,37.3506109]]]},\"attributes\":{}},{\"id\":\"59f07a02656e458c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/59f07a02656e458c.json\",\"place_type\":\"city\",\"name\":\"South Woodbridge\",\"full_name\":\"South Woodbridge, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"6633b43ec374a43f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6633b43ec374a43f.json\",\"place_type\":\"admin\",\"name\":\"Sacramento-Stockton-Modesto CA\",\"full_name\":\"Sacramento-Stockton-Modesto CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.27001976746145,38.863895],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.78509,37.396813],[-122.78509,40.330977],[-120.00082,40.330977],[-120.00082,37.396813],[-122.78509,37.396813]]]},\"attributes\":{}}],\"centroid\":[-121.30605854083468,38.153611999999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.318079,38.148486],[-121.318079,38.158738],[-121.298049,38.158738],[-121.298049,38.148486],[-121.318079,38.148486]]]},\"attributes\":{}},{\"id\":\"3f690c039272386c\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/3f690c039272386c.json\",\"place_type\":\"neighborhood\",\"name\":\"Little Portugal South\",\"full_name\":\"Little Portugal South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.85740301686634,37.34958345],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.861838,37.3463615],[-121.861838,37.3528054],[-121.8526191,37.3528054],[-121.8526191,37.3463615],[-121.861838,37.3463615]]]},\"attributes\":{}},{\"id\":\"5dfcb35d4822804e\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5dfcb35d4822804e.json\",\"place_type\":\"neighborhood\",\"name\":\"Hillview South\",\"full_name\":\"Hillview South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.86240481105543,37.242997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8650841,37.241598],[-121.8650841,37.244396],[-121.860323,37.244396],[-121.860323,37.241598],[-121.8650841,37.241598]]]},\"attributes\":{}},{\"id\":\"27ae3d61c0cae65b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/27ae3d61c0cae65b.json\",\"place_type\":\"neighborhood\",\"name\":\"Mount Pleasant South\",\"full_name\":\"Mount Pleasant South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.80861903129176,37.350156049999995],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8142683,37.3446521],[-121.8142683,37.35566],[-121.7999127,37.35566],[-121.7999127,37.3446521],[-121.8142683,37.3446521]]]},\"attributes\":{}},{\"id\":\"6a138a4829d9e5e5\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/6a138a4829d9e5e5.json\",\"place_type\":\"neighborhood\",\"name\":\"Woodside of Almaden\",\"full_name\":\"Woodside of Almaden, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.8281506995455,37.20693555],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8338608,37.201186],[-121.8338608,37.2126851],[-121.8241277,37.2126851],[-121.8241277,37.201186],[-121.8338608,37.201186]]]},\"attributes\":{}},{\"id\":\"61582aaad5b1a0d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/61582aaad5b1a0d1.json\",\"place_type\":\"neighborhood\",\"name\":\"Creekside South\",\"full_name\":\"Creekside South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.82827574598772,37.196902],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.833133,37.192618],[-121.833133,37.201186],[-121.823138,37.201186],[-121.823138,37.192618],[-121.833133,37.192618]]]},\"attributes\":{}},{\"id\":\"75daccb751921c62\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/75daccb751921c62.json\",\"place_type\":\"neighborhood\",\"name\":\"Willow Glen South Lincoln Glen\",\"full_name\":\"Willow Glen South Lincoln Glen, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.89391014983806,37.2771557],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.912366,37.268005],[-121.912366,37.2863064],[-121.8769364,37.2863064],[-121.8769364,37.268005],[-121.912366,37.268005]]]},\"attributes\":{}},{\"id\":\"610b1535bed93356\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/610b1535bed93356.json\",\"place_type\":\"neighborhood\",\"name\":\"Hidden Glen South\",\"full_name\":\"Hidden Glen South, San Jose\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d62cffe6f98f349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d62cffe6f98f349.json\",\"place_type\":\"city\",\"name\":\"San Jose\",\"full_name\":\"San Jose, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-121.85951243745129,37.331159],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.035311,37.193164],[-122.035311,37.469154],[-121.71215,37.469154],[-121.71215,37.193164],[-122.035311,37.193164]]]},\"attributes\":{}}],\"centroid\":[-121.84527479043146,37.23503045],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-121.8511872,37.2311979],[-121.8511872,37.238863],[-121.83949,37.238863],[-121.83949,37.2311979],[-121.8511872,37.2311979]]]},\"attributes\":{}}],\"token\":\"e70e5b2a1c04e2f38d507b4fab266ece\"},\"query\":{\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/similar_places.json?lat=37.7821120598956&long=-122.400612831116&name=South+of+Market+Child+Care\",\"type\":\"similar_places\",\"params\":{\"coordinates\":{\"type\":\"Point\",\"coordinates\":[-122.400612831116,37.7821120598956]},\"name\":\"South of Market Child Care\",\"contained_within\":null,\"strict\":false,\"query\":null,\"autocomplete\":null,\"accuracy\":null,\"granularity\":\"\"}}}" } }, "request": { - "method": "GET", - "uri": "https://api.twitter.com/1.1/geo/id/1ffd3558f2e98349.json", - "body": null, "headers": { "Host": [ "api.twitter.com" ] - } + }, + "uri": "https://api.twitter.com/1.1/geo/similar_places.json?lat=37.7821120598956&long=-122.400612831116&name=South+of+Market+Child+Care", + "method": "GET", + "body": null } }, { @@ -191,27 +375,36 @@ "message": "OK", "code": 200 }, - "body": { - "string": "{\"result\":{\"places\":[{\"id\":\"c3f37afa9efcf94b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/c3f37afa9efcf94b.json\",\"place_type\":\"city\",\"name\":\"Austin\",\"full_name\":\"Austin, TX\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d8a0502d41bf990\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d8a0502d41bf990.json\",\"place_type\":\"admin\",\"name\":\"Austin TX\",\"full_name\":\"Austin TX\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-98.28877833973715,30.645099000000002],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-99.484755,29.56659],[-99.484755,31.723608],[-96.640595,31.723608],[-96.640595,29.56659],[-99.484755,29.56659]]]},\"attributes\":{}}],\"centroid\":[-97.71630992597375,30.323345699999997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.928935,30.127892],[-97.928935,30.5187994],[-97.5805133,30.5187994],[-97.5805133,30.127892],[-97.928935,30.127892]]]},\"attributes\":{}},{\"id\":\"1fa5d78e5cf5f072\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1fa5d78e5cf5f072.json\",\"place_type\":\"neighborhood\",\"name\":\"Downtown\",\"full_name\":\"Downtown, Austin\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"c3f37afa9efcf94b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/c3f37afa9efcf94b.json\",\"place_type\":\"city\",\"name\":\"Austin\",\"full_name\":\"Austin, TX\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-97.71630992597375,30.323345699999997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.928935,30.127892],[-97.928935,30.5187994],[-97.5805133,30.5187994],[-97.5805133,30.127892],[-97.928935,30.127892]]]},\"attributes\":{}}],\"centroid\":[-97.74507218260459,30.26724255],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.7567,30.2505491],[-97.7567,30.283936],[-97.7314833,30.283936],[-97.7314833,30.2505491],[-97.7567,30.2505491]]]},\"attributes\":{}},{\"id\":\"e0060cda70f5f341\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/e0060cda70f5f341.json\",\"place_type\":\"admin\",\"name\":\"Texas\",\"full_name\":\"Texas, USA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"96683cc9126741d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/96683cc9126741d1.json\",\"place_type\":\"country\",\"name\":\"United States\",\"full_name\":\"United States\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-98.99308143101959,36.890333500000004],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-179.231086,13.182335],[-179.231086,71.434357],[179.859685,71.434357],[179.859685,13.182335],[-179.231086,13.182335]]]},\"attributes\":{}}],\"centroid\":[-99.68325796647969,31.1688935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-106.645646,25.837092],[-106.645646,36.500695],[-93.508131,36.500695],[-93.508131,25.837092],[-106.645646,25.837092]]]},\"attributes\":{}},{\"id\":\"96683cc9126741d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/96683cc9126741d1.json\",\"place_type\":\"country\",\"name\":\"United States\",\"full_name\":\"United States\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[],\"centroid\":[-98.99308143101959,36.890333500000004],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-179.231086,13.182335],[-179.231086,71.434357],[179.859685,71.434357],[179.859685,13.182335],[-179.231086,13.182335]]]},\"attributes\":{}}]},\"query\":{\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/reverse_geocode.json?lat=30.267370168467806&long=-97.74261474609375\",\"type\":\"reverse_geocode\",\"params\":{\"accuracy\":0.0,\"coordinates\":{\"type\":\"Point\",\"coordinates\":[-97.74261474609375,30.267370168467806]},\"granularity\":\"neighborhood\"}}}" - }, "headers": { - "content-length": [ - "3505" + "set-cookie": [ + "guest_id=v1%3A147838384029858048; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 22:10:40 UTC" + ], + "content-type": [ + "application/json;charset=utf-8" ], "x-transaction": [ - "006d80f40070006c" + "008e862d00e2a752" ], - "last-modified": [ - "Sat, 05 Nov 2016 21:43:51 GMT" + "x-rate-limit-limit": [ + "75" ], - "x-rate-limit-reset": [ - "1478382702" + "x-rate-limit-remaining": [ + "74" ], - "strict-transport-security": [ - "max-age=631138519" + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" ], - "server": [ - "tsa_b" + "content-length": [ + "1022" + ], + "status": [ + "200 OK" + ], + "x-twitter-response-tags": [ + "BouncerCompliant" + ], + "content-disposition": [ + "attachment; filename=json.json" ], "cache-control": [ "no-cache, no-store, must-revalidate, pre-check=0, post-check=0" @@ -219,62 +412,145 @@ "x-content-type-options": [ "nosniff" ], - "x-rate-limit-remaining": [ - "13" + "server": [ + "tsa_b" + ], + "x-access-level": [ + "read-write-directmessages" + ], + "last-modified": [ + "Sat, 05 Nov 2016 22:10:40 GMT" + ], + "pragma": [ + "no-cache" + ], + "x-xss-protection": [ + "1; mode=block" ], "date": [ - "Sat, 05 Nov 2016 21:43:51 GMT" + "Sat, 05 Nov 2016 22:10:40 GMT" ], - "x-twitter-response-tags": [ - "BouncerCompliant" + "x-rate-limit-reset": [ + "1478384740" ], - "x-rate-limit-limit": [ - "15" + "strict-transport-security": [ + "max-age=631138519" ], "x-frame-options": [ "SAMEORIGIN" ], + "x-response-time": [ + "16" + ], + "x-connection-hash": [ + "94f9f2a8fb0c8ade444d6232d1e8439c" + ] + }, + "body": { + "string": "{\"id\":\"1ffd3558f2e98349\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1ffd3558f2e98349.json\",\"place_type\":\"neighborhood\",\"name\":\"Dogpatch\",\"full_name\":\"Dogpatch, San Francisco\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"5a110d312052166f\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/5a110d312052166f.json\",\"place_type\":\"city\",\"name\":\"San Francisco\",\"full_name\":\"San Francisco, CA\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-122.4461400159226,37.759828999999996],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.514926,37.708075],[-122.514926,37.833238],[-122.357031,37.833238],[-122.357031,37.708075],[-122.514926,37.708075]]]},\"attributes\":{}}],\"geometry\":null,\"polylines\":[],\"centroid\":[-122.39013394275293,37.760263515],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-122.39307792,37.75613103],[-122.39307792,37.764396],[-122.38719588,37.764396],[-122.38719588,37.75613103],[-122.39307792,37.75613103]]]},\"attributes\":{\"162834:id\":\"73222\",\"geotagCount\":\"2\"}}" + } + }, + "request": { + "headers": { + "Host": [ + "api.twitter.com" + ] + }, + "uri": "https://api.twitter.com/1.1/geo/id/1ffd3558f2e98349.json", + "method": "GET", + "body": null + } + }, + { + "response": { + "status": { + "message": "OK", + "code": 200 + }, + "headers": { + "set-cookie": [ + "guest_id=v1%3A147838384046571223; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 22:10:40 UTC" + ], + "content-type": [ + "application/json;charset=utf-8" + ], + "x-transaction": [ + "00a092d300b59eb6" + ], + "x-rate-limit-limit": [ + "15" + ], + "x-rate-limit-remaining": [ + "14" + ], + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" + ], + "content-length": [ + "3487" + ], "status": [ "200 OK" ], - "x-xss-protection": [ - "1; mode=block" + "x-twitter-response-tags": [ + "BouncerCompliant" ], "content-disposition": [ "attachment; filename=json.json" ], - "expires": [ - "Tue, 31 Mar 1981 05:00:00 GMT" + "cache-control": [ + "no-cache, no-store, must-revalidate, pre-check=0, post-check=0" ], - "content-type": [ - "application/json;charset=utf-8" + "x-content-type-options": [ + "nosniff" ], - "set-cookie": [ - "guest_id=v1%3A147838223142616111; Domain=.twitter.com; Path=/; Expires=Mon, 05-Nov-2018 21:43:51 UTC" + "server": [ + "tsa_b" + ], + "x-access-level": [ + "read-write-directmessages" + ], + "last-modified": [ + "Sat, 05 Nov 2016 22:10:40 GMT" ], "pragma": [ "no-cache" ], - "x-access-level": [ - "read-write-directmessages" + "x-xss-protection": [ + "1; mode=block" + ], + "date": [ + "Sat, 05 Nov 2016 22:10:40 GMT" + ], + "x-rate-limit-reset": [ + "1478384740" + ], + "strict-transport-security": [ + "max-age=631138519" + ], + "x-frame-options": [ + "SAMEORIGIN" ], "x-response-time": [ - "19" + "16" ], "x-connection-hash": [ - "3b78ec720a7e56bf839ee4ee4e65a858" + "f812ea0e779944ba66075ee00a7ed408" ] + }, + "body": { + "string": "{\"result\":{\"places\":[{\"id\":\"c3f37afa9efcf94b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/c3f37afa9efcf94b.json\",\"place_type\":\"city\",\"name\":\"Austin\",\"full_name\":\"Austin, TX\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"7d8a0502d41bf990\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/7d8a0502d41bf990.json\",\"place_type\":\"admin\",\"name\":\"Austin TX\",\"full_name\":\"Austin TX\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-98.28877833973715,30.645099000000002],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-99.484755,29.56659],[-99.484755,31.723608],[-96.640595,31.723608],[-96.640595,29.56659],[-99.484755,29.56659]]]},\"attributes\":{}}],\"centroid\":[-97.71630992597375,30.323345699999997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.928935,30.127892],[-97.928935,30.5187994],[-97.5805133,30.5187994],[-97.5805133,30.127892],[-97.928935,30.127892]]]},\"attributes\":{}},{\"id\":\"1fa5d78e5cf5f072\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/1fa5d78e5cf5f072.json\",\"place_type\":\"neighborhood\",\"name\":\"Downtown\",\"full_name\":\"Downtown, Austin\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"c3f37afa9efcf94b\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/c3f37afa9efcf94b.json\",\"place_type\":\"city\",\"name\":\"Austin\",\"full_name\":\"Austin, TX\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-97.71630992597375,30.323345699999997],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.928935,30.127892],[-97.928935,30.5187994],[-97.5805133,30.5187994],[-97.5805133,30.127892],[-97.928935,30.127892]]]},\"attributes\":{}}],\"centroid\":[-97.74507218260459,30.26724255],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-97.7567,30.2505491],[-97.7567,30.283936],[-97.7314833,30.283936],[-97.7314833,30.2505491],[-97.7567,30.2505491]]]},\"attributes\":{}},{\"id\":\"e0060cda70f5f341\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/e0060cda70f5f341.json\",\"place_type\":\"admin\",\"name\":\"Texas\",\"full_name\":\"Texas, USA\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[{\"id\":\"96683cc9126741d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/96683cc9126741d1.json\",\"place_type\":\"country\",\"name\":\"United States\",\"full_name\":\"United States\",\"country_code\":\"US\",\"country\":\"United States\",\"centroid\":[-98.99308143101959,36.890333500000004],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-179.231086,13.182335],[-179.231086,71.434357],[179.859685,71.434357],[179.859685,13.182335],[-179.231086,13.182335]]]},\"attributes\":{}}],\"centroid\":[-99.68325796647969,31.1688935],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-106.645646,25.837092],[-106.645646,36.500695],[-93.508131,36.500695],[-93.508131,25.837092],[-106.645646,25.837092]]]},\"attributes\":{}},{\"id\":\"96683cc9126741d1\",\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/id\\/96683cc9126741d1.json\",\"place_type\":\"country\",\"name\":\"United States\",\"full_name\":\"United States\",\"country_code\":\"US\",\"country\":\"United States\",\"contained_within\":[],\"centroid\":[-98.99308143101959,36.890333500000004],\"bounding_box\":{\"type\":\"Polygon\",\"coordinates\":[[[-179.231086,13.182335],[-179.231086,71.434357],[179.859685,71.434357],[179.859685,13.182335],[-179.231086,13.182335]]]},\"attributes\":{}}]},\"query\":{\"url\":\"https:\\/\\/api.twitter.com\\/1.1\\/geo\\/reverse_geocode.json?lat=30.2673701685&long=-97.7426147461\",\"type\":\"reverse_geocode\",\"params\":{\"accuracy\":0.0,\"coordinates\":{\"type\":\"Point\",\"coordinates\":[-97.7426147461,30.2673701685]},\"granularity\":\"neighborhood\"}}}" } }, "request": { - "method": "GET", - "uri": "https://api.twitter.com/1.1/geo/reverse_geocode.json?lat=30.267370168467806&long=-97.74261474609375", - "body": null, "headers": { "Host": [ "api.twitter.com" ] - } + }, + "uri": "https://api.twitter.com/1.1/geo/reverse_geocode.json?lat=30.2673701685&long=-97.7426147461", + "method": "GET", + "body": null } } ] diff --git a/tests/test_api.py b/tests/test_api.py index e035814..e3b36b9 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -407,7 +407,7 @@ class TweepyAPITests(TweepyTestCase): # Test various API functions using Austin, TX, USA self.assertEqual(self.api.geo_id(id='1ffd3558f2e98349').full_name, 'Dogpatch, San Francisco') self.assertTrue(place_name_in_list('Austin, TX', - self.api.reverse_geocode(lat=30.267370168467806, long= -97.74261474609375))) # Austin, TX, USA + self.api.reverse_geocode(lat=30.2673701685, long= -97.7426147461))) # Austin, TX, USA @tape.use_cassette('testsupportedlanguages.json') def testsupportedlanguages(self): -- 2.25.1