Twitter関連Twitter REST API:ローカルトレンド関連
- trends/abailable〔Twitterで話題になっている情報を取得できる国と都市のリストを取得〕
- trends/:woeid〔指定したWOEIDの場所で話題になっているトピックTOP10を返す〕
trends/abailable
Twitterで話題になっている情報を取得できる国と都市のリストを取得
unknown
http://api.twitter.com/1/trends/available.[xml|json]
Twitterで話題になっている情報を取得できる国と都市のリストをWOEID(Yahoo! Where On Earth ID)で返します。
パラメーター | 説明 | |
---|---|---|
lat | 任意 |
longパラメータが指定されている場合、利用可能なトレンドの場所が座標ペアに、遠いに最も近い距離でソートされます。
経度の有効範囲は、-180.0~180.0(東が正)です。 例)http://api.twitter.com/1/trends/available.json?lat=37.781157&long=-122.400612831116 |
long | 任意 |
latパラメータが指定されている場合、利用可能なトレンドの場所が座標ペアに、遠いに最も近い距離でソートされます。
緯度の有効範囲は、-180.0~180.0 (東が正)です。 例)http://api.twitter.com/1/trends/available.json?long=-122.400612831116 |
取得サンプル(XML/JSON)
available.xml
<?xml version="1.0" encoding="UTF-8"?> <locations type="array"> <location> <woeid>23424969</woeid> <name>Turkey</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="TR">Turkey</country> <url>http://where.yahooapis.com/v1/place/23424969</url> <parentid>1</parentid> </location> <location> <woeid>2364559</woeid> <name>Birmingham</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2364559</url> <parentid>23424977</parentid> </location> <location> <woeid>395269</woeid> <name>Caracas</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="VE">Venezuela</country> <url>http://where.yahooapis.com/v1/place/395269</url> <parentid>23424982</parentid> </location> <location> <woeid>1047180</woeid> <name>Bandung</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="ID">Indonesia</country> <url>http://where.yahooapis.com/v1/place/1047180</url> <parentid>23424846</parentid> </location> <location> <woeid>2391585</woeid> <name>Detroit</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2391585</url> <parentid>23424977</parentid> </location> <location> <woeid>21125</woeid> <name>Glasgow</name> <placeTypeName code="7">Town</placeTypeName> <country code="GB" type="Country">United Kingdom</country> <url>http://where.yahooapis.com/v1/place/21125</url> <parentid>23424975</parentid> </location> <location> <woeid>23424982</woeid> <name>Venezuela</name> <placeTypeName code="12">Country</placeTypeName> <country code="VE" type="Country">Venezuela</country> <url>http://where.yahooapis.com/v1/place/23424982</url> <parentid>1</parentid> </location> <location> <woeid>23424856</woeid> <name>Japan</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="JP">Japan</country> <url>http://where.yahooapis.com/v1/place/23424856</url> <parentid>1</parentid> </location> <location> <woeid>2436704</woeid> <name>Las Vegas</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2436704</url> <parentid>23424977</parentid> </location> <location> <woeid>2486340</woeid> <name>Sacramento</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2486340</url> <parentid>23424977</parentid> </location> <location> <woeid>468382</woeid> <name>Barquisimeto</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="VE">Venezuela</country> <url>http://where.yahooapis.com/v1/place/468382</url> <parentid>23424982</parentid> </location> <location> <woeid>2490383</woeid> <name>Seattle</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2490383</url> <parentid>23424977</parentid> </location> <location> <woeid>23424934</woeid> <name>Philippines</name> <placeTypeName code="12">Country</placeTypeName> <country code="PH" type="Country">Philippines</country> <url>http://where.yahooapis.com/v1/place/23424934</url> <parentid>1</parentid> </location> <location> <woeid>3534</woeid> <name>Montreal</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="CA">Canada</country> <url>http://where.yahooapis.com/v1/place/3534</url> <parentid>23424775</parentid> </location> <location> <woeid>23424853</woeid> <name>Italy</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="IT">Italy</country> <url>http://where.yahooapis.com/v1/place/23424853</url> <parentid>1</parentid> </location> <location> <woeid>134047</woeid> <name>Monterrey</name> <placeTypeName code="7">Town</placeTypeName> <country code="MX" type="Country">Mexico</country> <url>http://where.yahooapis.com/v1/place/134047</url> <parentid>23424900</parentid> </location> <location> <woeid>9807</woeid> <name>Vancouver</name> <placeTypeName code="7">Town</placeTypeName> <country code="CA" type="Country">Canada</country> <url>http://where.yahooapis.com/v1/place/9807</url> <parentid>23424775</parentid> </location> <location> <woeid>2357024</woeid> <name>Atlanta</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2357024</url> <parentid>23424977</parentid> </location> <location> <woeid>23424748</woeid> <name>Australia</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="AU">Australia</country> <url>http://where.yahooapis.com/v1/place/23424748</url> <parentid>1</parentid> </location> <location> <woeid>468739</woeid> <name>Buenos Aires</name> <placeTypeName code="7">Town</placeTypeName> <country code="AR" type="Country">Argentina</country> <url>http://where.yahooapis.com/v1/place/468739</url> <parentid>23424747</parentid> </location> <location> <woeid>2427032</woeid> <name>Indianapolis</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2427032</url> <parentid>23424977</parentid> </location> <location> <woeid>395272</woeid> <name>Valencia</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="VE">Venezuela</country> <url>http://where.yahooapis.com/v1/place/395272</url> <parentid>23424982</parentid> </location> <location> <woeid>2475687</woeid> <name>Portland</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2475687</url> <parentid>23424977</parentid> </location> <location> <woeid>2424766</woeid> <name>Houston</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2424766</url> <parentid>23424977</parentid> </location> <location> <woeid>2452078</woeid> <name>Minneapolis</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2452078</url> <parentid>23424977</parentid> </location> <location> <woeid>2357536</woeid> <name>Austin</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2357536</url> <parentid>23424977</parentid> </location> <location> <woeid>455827</woeid> <name>São Paulo</name> <placeTypeName code="7">Town</placeTypeName> <country code="BR" type="Country">Brazil</country> <url>http://where.yahooapis.com/v1/place/455827</url> <parentid>23424768</parentid> </location> <location> <woeid>23424901</woeid> <name>Malaysia</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="MY">Malaysia</country> <url>http://where.yahooapis.com/v1/place/23424901</url> <parentid>1</parentid> </location> <location> <woeid>23424768</woeid> <name>Brazil</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="BR">Brazil</country> <url>http://where.yahooapis.com/v1/place/23424768</url> <parentid>1</parentid> </location> <location> <woeid>2487796</woeid> <name>San Antonio</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2487796</url> <parentid>23424977</parentid> </location> <location> <woeid>23424787</woeid> <name>Colombia</name> <placeTypeName code="12">Country</placeTypeName> <country code="CO" type="Country">Colombia</country> <url>http://where.yahooapis.com/v1/place/23424787</url> <parentid>1</parentid> </location> <location> <woeid>23424801</woeid> <name>Ecuador</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="EC">Ecuador</country> <url>http://where.yahooapis.com/v1/place/23424801</url> <parentid>1</parentid> </location> <location> <woeid>1154781</woeid> <name>Kuala Lumpur</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="MY">Malaysia</country> <url>http://where.yahooapis.com/v1/place/1154781</url> <parentid>23424901</parentid> </location> <location> <woeid>395270</woeid> <name>Maracaibo</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="VE">Venezuela</country> <url>http://where.yahooapis.com/v1/place/395270</url> <parentid>23424982</parentid> </location> <location> <woeid>2451822</woeid> <name>Milwaukee</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2451822</url> <parentid>23424977</parentid> </location> <location> <woeid>2477058</woeid> <name>Providence</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2477058</url> <parentid>23424977</parentid> </location> <location> <woeid>23424747</woeid> <name>Argentina</name> <placeTypeName code="12">Country</placeTypeName> <country code="AR" type="Country">Argentina</country> <url>http://where.yahooapis.com/v1/place/23424747</url> <parentid>1</parentid> </location> <location> <woeid>2358820</woeid> <name>Baltimore</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2358820</url> <parentid>23424977</parentid> </location> <location> <woeid>727232</woeid> <name>Amsterdam</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="NL">Netherlands</country> <url>http://where.yahooapis.com/v1/place/727232</url> <parentid>23424909</parentid> </location> <location> <woeid>28218</woeid> <name>Manchester</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="GB">United Kingdom</country> <url>http://where.yahooapis.com/v1/place/28218</url> <parentid>23424975</parentid> </location> <location> <woeid>23424775</woeid> <name>Canada</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="CA">Canada</country> <url>http://where.yahooapis.com/v1/place/23424775</url> <parentid>1</parentid> </location> <location> <woeid>2487956</woeid> <name>San Francisco</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2487956</url> <parentid>23424977</parentid> </location> <location> <woeid>2367105</woeid> <name>Boston</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2367105</url> <parentid>23424977</parentid> </location> <location> <woeid>44418</woeid> <name>London</name> <placeTypeName code="7">Town</placeTypeName> <country code="GB" type="Country">United Kingdom</country> <url>http://where.yahooapis.com/v1/place/44418</url> <parentid>23424975</parentid> </location> <location> <woeid>349859</woeid> <name>Santiago</name> <placeTypeName code="7">Town</placeTypeName> <country code="CL" type="Country">Chile</country> <url>http://where.yahooapis.com/v1/place/349859</url> <parentid>23424782</parentid> </location> <location> <woeid>23424800</woeid> <name>Dominican Republic</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="DO">Dominican Republic</country> <url>http://where.yahooapis.com/v1/place/23424800</url> <parentid>1</parentid> </location> <location> <woeid>2380358</woeid> <name>Cincinnati</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2380358</url> <parentid>23424977</parentid> </location> <location> <woeid>23424782</woeid> <name>Chile</name> <placeTypeName code="12">Country</placeTypeName> <country code="CL" type="Country">Chile</country> <url>http://where.yahooapis.com/v1/place/23424782</url> <parentid>1</parentid> </location> <location> <woeid>1047378</woeid> <name>Jakarta</name> <placeTypeName code="7">Town</placeTypeName> <country code="ID" type="Country">Indonesia</country> <url>http://where.yahooapis.com/v1/place/1047378</url> <parentid>23424846</parentid> </location> <location> <woeid>560743</woeid> <name>Dublin</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="IE">Ireland</country> <url>http://where.yahooapis.com/v1/place/560743</url> <parentid>23424803</parentid> </location> <location> <woeid>1118370</woeid> <name>Tokyo</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="JP">Japan</country> <url>http://where.yahooapis.com/v1/place/1118370</url> <parentid>23424856</parentid> </location> <location> <woeid>2473224</woeid> <name>Pittsburgh</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2473224</url> <parentid>23424977</parentid> </location> <location> <woeid>23424829</woeid> <name>Germany</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="DE">Germany</country> <url>http://where.yahooapis.com/v1/place/23424829</url> <parentid>1</parentid> </location> <location> <woeid>1105779</woeid> <name>Sydney</name> <placeTypeName code="7">Town</placeTypeName> <country code="AU" type="Country">Australia</country> <url>http://where.yahooapis.com/v1/place/1105779</url> <parentid>23424748</parentid> </location> <location> <woeid>23424848</woeid> <name>India</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="IN">India</country> <url>http://where.yahooapis.com/v1/place/23424848</url> <parentid>1</parentid> </location> <location> <woeid>2450022</woeid> <name>Miami</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2450022</url> <parentid>23424977</parentid> </location> <location> <woeid>23424908</woeid> <name>Nigeria</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="NG">Nigeria</country> <url>http://where.yahooapis.com/v1/place/23424908</url> <parentid>1</parentid> </location> <location> <woeid>2295411</woeid> <name>Mumbai</name> <placeTypeName code="7">Town</placeTypeName> <country code="IN" type="Country">India</country> <url>http://where.yahooapis.com/v1/place/2295411</url> <parentid>23424848</parentid> </location> <location> <woeid>23424950</woeid> <name>Spain</name> <placeTypeName code="12">Country</placeTypeName> <country code="ES" type="Country">Spain</country> <url>http://where.yahooapis.com/v1/place/23424950</url> <parentid>1</parentid> </location> <location> <woeid>2503863</woeid> <name>Tampa</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2503863</url> <parentid>23424977</parentid> </location> <location> <woeid>116545</woeid> <name>Mexico City</name> <placeTypeName code="7">Town</placeTypeName> <country code="MX" type="Country">Mexico</country> <url>http://where.yahooapis.com/v1/place/116545</url> <parentid>23424900</parentid> </location> <location> <woeid>23424803</woeid> <name>Ireland</name> <placeTypeName code="12">Country</placeTypeName> <country code="IE" type="Country">Ireland</country> <url>http://where.yahooapis.com/v1/place/23424803</url> <parentid>1</parentid> </location> <location> <woeid>2414469</woeid> <name>Greensboro</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2414469</url> <parentid>23424977</parentid> </location> <location> <woeid>4118</woeid> <name>Toronto</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="CA">Canada</country> <url>http://where.yahooapis.com/v1/place/4118</url> <parentid>23424775</parentid> </location> <location> <woeid>2487610</woeid> <name>Salt Lake City</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2487610</url> <parentid>23424977</parentid> </location> <location> <woeid>2379574</woeid> <name>Chicago</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2379574</url> <parentid>23424977</parentid> </location> <location> <woeid>368148</woeid> <name>Bogotá</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="CO">Colombia</country> <url>http://where.yahooapis.com/v1/place/368148</url> <parentid>23424787</parentid> </location> <location> <woeid>23424975</woeid> <name>United Kingdom</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="GB">United Kingdom</country> <url>http://where.yahooapis.com/v1/place/23424975</url> <parentid>1</parentid> </location> <location> <woeid>1398823</woeid> <name>Lagos</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="NG">Nigeria</country> <url>http://where.yahooapis.com/v1/place/1398823</url> <parentid>23424908</parentid> </location> <location> <woeid>2457170</woeid> <name>Nashville</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2457170</url> <parentid>23424977</parentid> </location> <location> <woeid>2459115</woeid> <name>New York</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2459115</url> <parentid>23424977</parentid> </location> <location> <woeid>23424948</woeid> <name>Singapore</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="SG">Singapore</country> <url>http://where.yahooapis.com/v1/place/23424948</url> <parentid>1</parentid> </location> <location> <woeid>23424846</woeid> <name>Indonesia</name> <placeTypeName code="12">Country</placeTypeName> <country code="ID" type="Country">Indonesia</country> <url>http://where.yahooapis.com/v1/place/23424846</url> <parentid>1</parentid> </location> <location> <woeid>2487889</woeid> <name>San Diego</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2487889</url> <parentid>23424977</parentid> </location> <location> <woeid>2458410</woeid> <name>New Haven</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2458410</url> <parentid>23424977</parentid> </location> <location> <woeid>23424942</woeid> <name>South Africa</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="ZA">South Africa</country> <url>http://where.yahooapis.com/v1/place/23424942</url> <parentid>1</parentid> </location> <location> <woeid>2480894</woeid> <name>Richmond</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2480894</url> <parentid>23424977</parentid> </location> <location> <woeid>1</woeid> <name>Worldwide</name> <placeTypeName code="19">Supername</placeTypeName> <country/> <url>http://where.yahooapis.com/v1/place/1</url> </location> <location> <woeid>2428184</woeid> <name>Jackson</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2428184</url> <parentid>23424977</parentid> </location> <location> <woeid>2514815</woeid> <name>Washington</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2514815</url> <parentid>23424977</parentid> </location> <location> <woeid>23424919</woeid> <name>Peru</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="PE">Peru</country> <url>http://where.yahooapis.com/v1/place/23424919</url> <parentid>1</parentid> </location> <location> <woeid>2471217</woeid> <name>Philadelphia</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2471217</url> <parentid>23424977</parentid> </location> <location> <woeid>2460389</woeid> <name>Norfolk</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2460389</url> <parentid>23424977</parentid> </location> <location> <woeid>23424954</woeid> <name>Sweden</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="SE">Sweden</country> <url>http://where.yahooapis.com/v1/place/23424954</url> <parentid>1</parentid> </location> <location> <woeid>2478307</woeid> <name>Raleigh</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2478307</url> <parentid>23424977</parentid> </location> <location> <woeid>2378426</woeid> <name>Charlotte</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2378426</url> <parentid>23424977</parentid> </location> <location> <woeid>23424900</woeid> <name>Mexico</name> <placeTypeName code="12">Country</placeTypeName> <country code="MX" type="Country">Mexico</country> <url>http://where.yahooapis.com/v1/place/23424900</url> <parentid>1</parentid> </location> <location> <woeid>2458833</woeid> <name>New Orleans</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2458833</url> <parentid>23424977</parentid> </location> <location> <woeid>418440</woeid> <name>Lima</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="PE">Peru</country> <url>http://where.yahooapis.com/v1/place/418440</url> <parentid>23424919</parentid> </location> <location> <woeid>766273</woeid> <name>Madrid</name> <placeTypeName code="7">Town</placeTypeName> <country code="ES" type="Country">Spain</country> <url>http://where.yahooapis.com/v1/place/766273</url> <parentid>23424950</parentid> </location> <location> <woeid>2503713</woeid> <name>Tallahassee</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2503713</url> <parentid>23424977</parentid> </location> <location> <woeid>2388929</woeid> <name>Dallas-Ft. Worth</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2388929</url> <parentid>23424977</parentid> </location> <location> <woeid>23424909</woeid> <name>Netherlands</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="NL">Netherlands</country> <url>http://where.yahooapis.com/v1/place/23424909</url> <parentid>1</parentid> </location> <location> <woeid>23424977</woeid> <name>United States</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/23424977</url> <parentid>1</parentid> </location> <location> <woeid>2381475</woeid> <name>Cleveland</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2381475</url> <parentid>23424977</parentid> </location> <location> <woeid>2471390</woeid> <name>Phoenix</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2471390</url> <parentid>23424977</parentid> </location> <location> <woeid>2449323</woeid> <name>Memphis</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2449323</url> <parentid>23424977</parentid> </location> <location> <woeid>23424916</woeid> <name>New Zealand</name> <placeTypeName code="12">Country</placeTypeName> <country code="NZ" type="Country">New Zealand</country> <url>http://where.yahooapis.com/v1/place/23424916</url> <parentid>1</parentid> </location> <location> <woeid>2383660</woeid> <name>Columbus</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2383660</url> <parentid>23424977</parentid> </location> <location> <woeid>23424819</woeid> <name>France</name> <placeTypeName code="12">Country</placeTypeName> <country code="FR" type="Country">France</country> <url>http://where.yahooapis.com/v1/place/23424819</url> <parentid>1</parentid> </location> <location> <woeid>12723</woeid> <name>Birmingham</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="GB">United Kingdom</country> <url>http://where.yahooapis.com/v1/place/12723</url> <parentid>23424975</parentid> </location> <location> <woeid>2486982</woeid> <name>St. Louis</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2486982</url> <parentid>23424977</parentid> </location> <location> <woeid>2466256</woeid> <name>Orlando</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2466256</url> <parentid>23424977</parentid> </location> <location> <woeid>2391279</woeid> <name>Denver</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2391279</url> <parentid>23424977</parentid> </location> <location> <woeid>1582504</woeid> <name>Johannesburg</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="ZA">South Africa</country> <url>http://where.yahooapis.com/v1/place/1582504</url> <parentid>23424942</parentid> </location> <location> <woeid>2442047</woeid> <name>Los Angeles</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2442047</url> <parentid>23424977</parentid> </location> <location> <woeid>23424738</woeid> <name>United Arab Emirates</name> <placeTypeName code="12">Country</placeTypeName> <country type="Country" code="AE">United Arab Emirates</country> <url>http://where.yahooapis.com/v1/place/23424738</url> <parentid>1</parentid> </location> <location> <woeid>2418046</woeid> <name>Harrisburg</name> <placeTypeName code="7">Town</placeTypeName> <country code="US" type="Country">United States</country> <url>http://where.yahooapis.com/v1/place/2418046</url> <parentid>23424977</parentid> </location> <location> <woeid>2359991</woeid> <name>Baton Rouge</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="US">United States</country> <url>http://where.yahooapis.com/v1/place/2359991</url> <parentid>23424977</parentid> </location> <location> <woeid>76456</woeid> <name>Santo Domingo</name> <placeTypeName code="7">Town</placeTypeName> <country type="Country" code="DO">Dominican Republic</country> <url>http://where.yahooapis.com/v1/place/76456</url> <parentid>23424800</parentid> </location> <location> <woeid>455825</woeid> <name>Rio de Janeiro</name> <placeTypeName code="7">Town</placeTypeName> <country code="BR" type="Country">Brazil</country> <url>http://where.yahooapis.com/v1/place/455825</url> <parentid>23424768</parentid> </location> </locations>
available.json
json[0]['name']=Turkey json[0]['url']=http://where.yahooapis.com/v1/place/23424969 json[0]['parentid']=1 json[0]['country']=Turkey json[0]['placeType']['name']=Country json[0]['placeType']['code']=12 json[0]['woeid']=23424969 json[0]['countryCode']=TR json[1]['name']=Birmingham json[1]['url']=http://where.yahooapis.com/v1/place/2364559 json[1]['parentid']=23424977 json[1]['country']=United States json[1]['placeType']['name']=Town json[1]['placeType']['code']=7 json[1]['woeid']=2364559 json[1]['countryCode']=US json[2]['country']=Venezuela json[2]['countryCode']=VE json[2]['parentid']=23424982 json[2]['url']=http://where.yahooapis.com/v1/place/395269 json[2]['name']=Caracas json[2]['woeid']=395269 json[2]['placeType']['code']=7 json[2]['placeType']['name']=Town json[3]['country']=Indonesia json[3]['placeType']['code']=7 json[3]['placeType']['name']=Town json[3]['countryCode']=ID json[3]['url']=http://where.yahooapis.com/v1/place/1047180 json[3]['name']=Bandung json[3]['woeid']=1047180 json[3]['parentid']=23424846 json[4]['parentid']=23424977 json[4]['name']=Detroit json[4]['placeType']['name']=Town json[4]['placeType']['code']=7 json[4]['url']=http://where.yahooapis.com/v1/place/2391585 json[4]['countryCode']=US json[4]['country']=United States json[4]['woeid']=2391585 json[5]['name']=Glasgow json[5]['parentid']=23424975 json[5]['url']=http://where.yahooapis.com/v1/place/21125 json[5]['placeType']['name']=Town json[5]['placeType']['code']=7 json[5]['country']=United Kingdom json[5]['countryCode']=GB json[5]['woeid']=21125 json[6]['placeType']['name']=Country json[6]['placeType']['code']=12 json[6]['name']=Venezuela json[6]['countryCode']=VE json[6]['url']=http://where.yahooapis.com/v1/place/23424982 json[6]['country']=Venezuela json[6]['parentid']=1 json[6]['woeid']=23424982 json[7]['name']=Japan json[7]['url']=http://where.yahooapis.com/v1/place/23424856 json[7]['parentid']=1 json[7]['country']=Japan json[7]['woeid']=23424856 json[7]['placeType']['name']=Country json[7]['placeType']['code']=12 json[7]['countryCode']=JP json[8]['country']=United States json[8]['parentid']=23424977 json[8]['placeType']['code']=7 json[8]['placeType']['name']=Town json[8]['url']=http://where.yahooapis.com/v1/place/2436704 json[8]['countryCode']=US json[8]['name']=Las Vegas json[8]['woeid']=2436704 json[9]['countryCode']=US json[9]['country']=United States json[9]['parentid']=23424977 json[9]['url']=http://where.yahooapis.com/v1/place/2486340 json[9]['name']=Sacramento json[9]['woeid']=2486340 json[9]['placeType']['code']=7 json[9]['placeType']['name']=Town json[10]['country']=Venezuela json[10]['parentid']=23424982 json[10]['url']=http://where.yahooapis.com/v1/place/468382 json[10]['placeType']['code']=7 json[10]['placeType']['name']=Town json[10]['name']=Barquisimeto json[10]['woeid']=468382 json[10]['countryCode']=VE json[11]['parentid']=23424977 json[11]['name']=Seattle json[11]['placeType']['name']=Town json[11]['placeType']['code']=7 json[11]['url']=http://where.yahooapis.com/v1/place/2490383 json[11]['countryCode']=US json[11]['country']=United States json[11]['woeid']=2490383 json[12]['country']=Philippines json[12]['parentid']=1 json[12]['placeType']['code']=12 json[12]['placeType']['name']=Country json[12]['countryCode']=PH json[12]['url']=http://where.yahooapis.com/v1/place/23424934 json[12]['name']=Philippines json[12]['woeid']=23424934 json[13]['country']=Canada json[13]['parentid']=23424775 json[13]['url']=http://where.yahooapis.com/v1/place/3534 json[13]['placeType']['code']=7 json[13]['placeType']['name']=Town json[13]['name']=Montreal json[13]['woeid']=3534 json[13]['countryCode']=CA json[14]['name']=Italy json[14]['url']=http://where.yahooapis.com/v1/place/23424853 json[14]['parentid']=1 json[14]['country']=Italy json[14]['placeType']['name']=Country json[14]['placeType']['code']=12 json[14]['woeid']=23424853 json[14]['countryCode']=IT json[15]['countryCode']=MX json[15]['country']=Mexico json[15]['parentid']=23424900 json[15]['url']=http://where.yahooapis.com/v1/place/134047 json[15]['name']=Monterrey json[15]['woeid']=134047 json[15]['placeType']['code']=7 json[15]['placeType']['name']=Town json[16]['country']=Canada json[16]['parentid']=23424775 json[16]['placeType']['code']=7 json[16]['placeType']['name']=Town json[16]['url']=http://where.yahooapis.com/v1/place/9807 json[16]['countryCode']=CA json[16]['name']=Vancouver json[16]['woeid']=9807 json[17]['name']=Atlanta json[17]['parentid']=23424977 json[17]['url']=http://where.yahooapis.com/v1/place/2357024 json[17]['country']=United States json[17]['placeType']['name']=Town json[17]['placeType']['code']=7 json[17]['countryCode']=US json[17]['woeid']=2357024 json[18]['country']=Australia json[18]['parentid']=1 json[18]['placeType']['code']=12 json[18]['placeType']['name']=Country json[18]['url']=http://where.yahooapis.com/v1/place/23424748 json[18]['countryCode']=AU json[18]['name']=Australia json[18]['woeid']=23424748 json[19]['placeType']['name']=Town json[19]['placeType']['code']=7 json[19]['name']=Buenos Aires json[19]['url']=http://where.yahooapis.com/v1/place/468739 json[19]['countryCode']=AR json[19]['country']=Argentina json[19]['woeid']=468739 json[19]['parentid']=23424747 json[20]['parentid']=23424977 json[20]['name']=Indianapolis json[20]['placeType']['name']=Town json[20]['placeType']['code']=7 json[20]['url']=http://where.yahooapis.com/v1/place/2427032 json[20]['countryCode']=US json[20]['country']=United States json[20]['woeid']=2427032 json[21]['country']=Venezuela json[21]['parentid']=23424982 json[21]['placeType']['code']=7 json[21]['placeType']['name']=Town json[21]['countryCode']=VE json[21]['url']=http://where.yahooapis.com/v1/place/395272 json[21]['name']=Valencia json[21]['woeid']=395272 json[22]['country']=United States json[22]['placeType']['code']=7 json[22]['placeType']['name']=Town json[22]['countryCode']=US json[22]['url']=http://where.yahooapis.com/v1/place/2475687 json[22]['name']=Portland json[22]['woeid']=2475687 json[22]['parentid']=23424977 json[23]['countryCode']=US json[23]['name']=Houston json[23]['url']=http://where.yahooapis.com/v1/place/2424766 json[23]['country']=United States json[23]['woeid']=2424766 json[23]['parentid']=23424977 json[23]['placeType']['name']=Town json[23]['placeType']['code']=7 json[24]['country']=United States json[24]['placeType']['code']=7 json[24]['placeType']['name']=Town json[24]['countryCode']=US json[24]['url']=http://where.yahooapis.com/v1/place/2452078 json[24]['name']=Minneapolis json[24]['woeid']=2452078 json[24]['parentid']=23424977 json[25]['parentid']=23424977 json[25]['country']=United States json[25]['placeType']['code']=7 json[25]['placeType']['name']=Town json[25]['countryCode']=US json[25]['url']=http://where.yahooapis.com/v1/place/2357536 json[25]['name']=Austin json[25]['woeid']=2357536 json[26]['name']=São Paulo json[26]['url']=http://where.yahooapis.com/v1/place/455827 json[26]['country']=Brazil json[26]['parentid']=23424768 json[26]['placeType']['name']=Town json[26]['placeType']['code']=7 json[26]['woeid']=455827 json[26]['countryCode']=BR json[27]['country']=Malaysia json[27]['placeType']['code']=12 json[27]['placeType']['name']=Country json[27]['countryCode']=MY json[27]['url']=http://where.yahooapis.com/v1/place/23424901 json[27]['name']=Malaysia json[27]['woeid']=23424901 json[27]['parentid']=1 json[28]['placeType']['name']=Country json[28]['placeType']['code']=12 json[28]['name']=Brazil json[28]['url']=http://where.yahooapis.com/v1/place/23424768 json[28]['countryCode']=BR json[28]['country']=Brazil json[28]['woeid']=23424768 json[28]['parentid']=1 json[29]['parentid']=23424977 json[29]['name']=San Antonio json[29]['url']=http://where.yahooapis.com/v1/place/2487796 json[29]['placeType']['name']=Town json[29]['placeType']['code']=7 json[29]['countryCode']=US json[29]['country']=United States json[29]['woeid']=2487796 json[30]['parentid']=1 json[30]['name']=Colombia json[30]['placeType']['name']=Country json[30]['placeType']['code']=12 json[30]['url']=http://where.yahooapis.com/v1/place/23424787 json[30]['countryCode']=CO json[30]['country']=Colombia json[30]['woeid']=23424787 json[31]['parentid']=1 json[31]['name']=Ecuador json[31]['url']=http://where.yahooapis.com/v1/place/23424801 json[31]['placeType']['name']=Country json[31]['placeType']['code']=12 json[31]['countryCode']=EC json[31]['country']=Ecuador json[31]['woeid']=23424801 json[32]['name']=Kuala Lumpur json[32]['parentid']=23424901 json[32]['url']=http://where.yahooapis.com/v1/place/1154781 json[32]['placeType']['name']=Town json[32]['placeType']['code']=7 json[32]['country']=Malaysia json[32]['countryCode']=MY json[32]['woeid']=1154781 json[33]['country']=Venezuela json[33]['parentid']=23424982 json[33]['placeType']['code']=7 json[33]['placeType']['name']=Town json[33]['countryCode']=VE json[33]['url']=http://where.yahooapis.com/v1/place/395270 json[33]['name']=Maracaibo json[33]['woeid']=395270 json[34]['country']=United States json[34]['parentid']=23424977 json[34]['placeType']['code']=7 json[34]['placeType']['name']=Town json[34]['countryCode']=US json[34]['url']=http://where.yahooapis.com/v1/place/2451822 json[34]['name']=Milwaukee json[34]['woeid']=2451822 json[35]['parentid']=23424977 json[35]['country']=United States json[35]['placeType']['code']=7 json[35]['placeType']['name']=Town json[35]['countryCode']=US json[35]['url']=http://where.yahooapis.com/v1/place/2477058 json[35]['name']=Providence json[35]['woeid']=2477058 json[36]['placeType']['name']=Country json[36]['placeType']['code']=12 json[36]['name']=Argentina json[36]['url']=http://where.yahooapis.com/v1/place/23424747 json[36]['countryCode']=AR json[36]['country']=Argentina json[36]['woeid']=23424747 json[36]['parentid']=1 json[37]['name']=Baltimore json[37]['url']=http://where.yahooapis.com/v1/place/2358820 json[37]['parentid']=23424977 json[37]['country']=United States json[37]['placeType']['name']=Town json[37]['placeType']['code']=7 json[37]['woeid']=2358820 json[37]['countryCode']=US json[38]['parentid']=23424909 json[38]['name']=Amsterdam json[38]['url']=http://where.yahooapis.com/v1/place/727232 json[38]['placeType']['name']=Town json[38]['placeType']['code']=7 json[38]['countryCode']=NL json[38]['country']=Netherlands json[38]['woeid']=727232 json[39]['countryCode']=GB json[39]['country']=United Kingdom json[39]['parentid']=23424975 json[39]['url']=http://where.yahooapis.com/v1/place/28218 json[39]['name']=Manchester json[39]['woeid']=28218 json[39]['placeType']['code']=7 json[39]['placeType']['name']=Town json[40]['country']=Canada json[40]['parentid']=1 json[40]['placeType']['code']=12 json[40]['placeType']['name']=Country json[40]['url']=http://where.yahooapis.com/v1/place/23424775 json[40]['countryCode']=CA json[40]['name']=Canada json[40]['woeid']=23424775 json[41]['parentid']=23424977 json[41]['name']=San Francisco json[41]['url']=http://where.yahooapis.com/v1/place/2487956 json[41]['placeType']['name']=Town json[41]['placeType']['code']=7 json[41]['countryCode']=US json[41]['country']=United States json[41]['woeid']=2487956 json[42]['countryCode']=US json[42]['name']=Boston json[42]['url']=http://where.yahooapis.com/v1/place/2367105 json[42]['country']=United States json[42]['parentid']=23424977 json[42]['placeType']['name']=Town json[42]['placeType']['code']=7 json[42]['woeid']=2367105 json[43]['name']=London json[43]['url']=http://where.yahooapis.com/v1/place/44418 json[43]['parentid']=23424975 json[43]['country']=United Kingdom json[43]['placeType']['name']=Town json[43]['placeType']['code']=7 json[43]['woeid']=44418 json[43]['countryCode']=GB json[44]['country']=Chile json[44]['parentid']=23424782 json[44]['placeType']['code']=7 json[44]['placeType']['name']=Town json[44]['countryCode']=CL json[44]['url']=http://where.yahooapis.com/v1/place/349859 json[44]['name']=Santiago json[44]['woeid']=349859 json[45]['country']=Dominican Republic json[45]['parentid']=1 json[45]['placeType']['code']=12 json[45]['placeType']['name']=Country json[45]['url']=http://where.yahooapis.com/v1/place/23424800 json[45]['name']=Dominican Republic json[45]['woeid']=23424800 json[45]['countryCode']=DO json[46]['country']=United States json[46]['parentid']=23424977 json[46]['placeType']['code']=7 json[46]['placeType']['name']=Town json[46]['url']=http://where.yahooapis.com/v1/place/2380358 json[46]['countryCode']=US json[46]['name']=Cincinnati json[46]['woeid']=2380358 json[47]['placeType']['name']=Country json[47]['placeType']['code']=12 json[47]['name']=Chile json[47]['countryCode']=CL json[47]['url']=http://where.yahooapis.com/v1/place/23424782 json[47]['country']=Chile json[47]['parentid']=1 json[47]['woeid']=23424782 json[48]['countryCode']=ID json[48]['country']=Indonesia json[48]['parentid']=23424846 json[48]['url']=http://where.yahooapis.com/v1/place/1047378 json[48]['name']=Jakarta json[48]['woeid']=1047378 json[48]['placeType']['code']=7 json[48]['placeType']['name']=Town json[49]['country']=Ireland json[49]['placeType']['code']=7 json[49]['placeType']['name']=Town json[49]['countryCode']=IE json[49]['url']=http://where.yahooapis.com/v1/place/560743 json[49]['name']=Dublin json[49]['woeid']=560743 json[49]['parentid']=23424803 json[50]['countryCode']=JP json[50]['country']=Japan json[50]['parentid']=23424856 json[50]['url']=http://where.yahooapis.com/v1/place/1118370 json[50]['name']=Tokyo json[50]['woeid']=1118370 json[50]['placeType']['code']=7 json[50]['placeType']['name']=Town json[51]['countryCode']=US json[51]['name']=Pittsburgh json[51]['url']=http://where.yahooapis.com/v1/place/2473224 json[51]['country']=United States json[51]['woeid']=2473224 json[51]['parentid']=23424977 json[51]['placeType']['name']=Town json[51]['placeType']['code']=7 json[52]['country']=Germany json[52]['parentid']=1 json[52]['placeType']['code']=12 json[52]['placeType']['name']=Country json[52]['url']=http://where.yahooapis.com/v1/place/23424829 json[52]['countryCode']=DE json[52]['name']=Germany json[52]['woeid']=23424829 json[53]['country']=Australia json[53]['placeType']['code']=7 json[53]['placeType']['name']=Town json[53]['countryCode']=AU json[53]['url']=http://where.yahooapis.com/v1/place/1105779 json[53]['name']=Sydney json[53]['woeid']=1105779 json[53]['parentid']=23424748 json[54]['countryCode']=IN json[54]['country']=India json[54]['parentid']=1 json[54]['url']=http://where.yahooapis.com/v1/place/23424848 json[54]['name']=India json[54]['woeid']=23424848 json[54]['placeType']['code']=12 json[54]['placeType']['name']=Country json[55]['country']=United States json[55]['parentid']=23424977 json[55]['placeType']['code']=7 json[55]['placeType']['name']=Town json[55]['countryCode']=US json[55]['url']=http://where.yahooapis.com/v1/place/2450022 json[55]['name']=Miami json[55]['woeid']=2450022 json[56]['country']=Nigeria json[56]['placeType']['code']=12 json[56]['placeType']['name']=Country json[56]['countryCode']=NG json[56]['url']=http://where.yahooapis.com/v1/place/23424908 json[56]['name']=Nigeria json[56]['woeid']=23424908 json[56]['parentid']=1 json[57]['placeType']['name']=Town json[57]['placeType']['code']=7 json[57]['name']=Mumbai json[57]['url']=http://where.yahooapis.com/v1/place/2295411 json[57]['countryCode']=IN json[57]['country']=India json[57]['woeid']=2295411 json[57]['parentid']=23424848 json[58]['countryCode']=ES json[58]['name']=Spain json[58]['url']=http://where.yahooapis.com/v1/place/23424950 json[58]['country']=Spain json[58]['parentid']=1 json[58]['woeid']=23424950 json[58]['placeType']['name']=Country json[58]['placeType']['code']=12 json[59]['country']=United States json[59]['parentid']=23424977 json[59]['url']=http://where.yahooapis.com/v1/place/2503863 json[59]['placeType']['code']=7 json[59]['placeType']['name']=Town json[59]['name']=Tampa json[59]['woeid']=2503863 json[59]['countryCode']=US json[60]['countryCode']=MX json[60]['name']=Mexico City json[60]['url']=http://where.yahooapis.com/v1/place/116545 json[60]['country']=Mexico json[60]['woeid']=116545 json[60]['parentid']=23424900 json[60]['placeType']['name']=Town json[60]['placeType']['code']=7 json[61]['name']=Ireland json[61]['url']=http://where.yahooapis.com/v1/place/23424803 json[61]['parentid']=1 json[61]['country']=Ireland json[61]['placeType']['name']=Country json[61]['placeType']['code']=12 json[61]['woeid']=23424803 json[61]['countryCode']=IE json[62]['name']=Greensboro json[62]['url']=http://where.yahooapis.com/v1/place/2414469 json[62]['parentid']=23424977 json[62]['country']=United States json[62]['woeid']=2414469 json[62]['placeType']['name']=Town json[62]['placeType']['code']=7 json[62]['countryCode']=US json[63]['country']=Canada json[63]['placeType']['code']=7 json[63]['placeType']['name']=Town json[63]['countryCode']=CA json[63]['url']=http://where.yahooapis.com/v1/place/4118 json[63]['name']=Toronto json[63]['woeid']=4118 json[63]['parentid']=23424775 json[64]['name']=Salt Lake City json[64]['url']=http://where.yahooapis.com/v1/place/2487610 json[64]['parentid']=23424977 json[64]['country']=United States json[64]['placeType']['name']=Town json[64]['placeType']['code']=7 json[64]['woeid']=2487610 json[64]['countryCode']=US json[65]['name']=Chicago json[65]['parentid']=23424977 json[65]['url']=http://where.yahooapis.com/v1/place/2379574 json[65]['placeType']['name']=Town json[65]['placeType']['code']=7 json[65]['country']=United States json[65]['countryCode']=US json[65]['woeid']=2379574 json[66]['country']=Colombia json[66]['parentid']=23424787 json[66]['placeType']['code']=7 json[66]['placeType']['name']=Town json[66]['url']=http://where.yahooapis.com/v1/place/368148 json[66]['countryCode']=CO json[66]['name']=Bogotá json[66]['woeid']=368148 json[67]['country']=United Kingdom json[67]['placeType']['code']=12 json[67]['placeType']['name']=Country json[67]['countryCode']=GB json[67]['url']=http://where.yahooapis.com/v1/place/23424975 json[67]['name']=United Kingdom json[67]['woeid']=23424975 json[67]['parentid']=1 json[68]['parentid']=23424908 json[68]['country']=Nigeria json[68]['placeType']['code']=7 json[68]['placeType']['name']=Town json[68]['countryCode']=NG json[68]['url']=http://where.yahooapis.com/v1/place/1398823 json[68]['name']=Lagos json[68]['woeid']=1398823 json[69]['placeType']['name']=Town json[69]['placeType']['code']=7 json[69]['name']=Nashville json[69]['countryCode']=US json[69]['url']=http://where.yahooapis.com/v1/place/2457170 json[69]['country']=United States json[69]['parentid']=23424977 json[69]['woeid']=2457170 json[70]['country']=United States json[70]['parentid']=23424977 json[70]['placeType']['code']=7 json[70]['placeType']['name']=Town json[70]['url']=http://where.yahooapis.com/v1/place/2459115 json[70]['countryCode']=US json[70]['name']=New York json[70]['woeid']=2459115 json[71]['country']=Singapore json[71]['parentid']=1 json[71]['placeType']['code']=12 json[71]['placeType']['name']=Country json[71]['countryCode']=SG json[71]['url']=http://where.yahooapis.com/v1/place/23424948 json[71]['name']=Singapore json[71]['woeid']=23424948 json[72]['countryCode']=ID json[72]['name']=Indonesia json[72]['url']=http://where.yahooapis.com/v1/place/23424846 json[72]['country']=Indonesia json[72]['parentid']=1 json[72]['placeType']['name']=Country json[72]['placeType']['code']=12 json[72]['woeid']=23424846 json[73]['country']=United States json[73]['parentid']=23424977 json[73]['placeType']['code']=7 json[73]['placeType']['name']=Town json[73]['countryCode']=US json[73]['url']=http://where.yahooapis.com/v1/place/2487889 json[73]['name']=San Diego json[73]['woeid']=2487889 json[74]['country']=United States json[74]['placeType']['code']=7 json[74]['placeType']['name']=Town json[74]['countryCode']=US json[74]['url']=http://where.yahooapis.com/v1/place/2458410 json[74]['name']=New Haven json[74]['woeid']=2458410 json[74]['parentid']=23424977 json[75]['name']=South Africa json[75]['parentid']=1 json[75]['url']=http://where.yahooapis.com/v1/place/23424942 json[75]['placeType']['name']=Country json[75]['placeType']['code']=12 json[75]['country']=South Africa json[75]['countryCode']=ZA json[75]['woeid']=23424942 json[76]['parentid']=23424977 json[76]['country']=United States json[76]['placeType']['code']=7 json[76]['placeType']['name']=Town json[76]['countryCode']=US json[76]['url']=http://where.yahooapis.com/v1/place/2480894 json[76]['name']=Richmond json[76]['woeid']=2480894 json[77]['country']= json[77]['placeType']['code']=19 json[77]['placeType']['name']=Supername json[77]['countryCode']= json[77]['url']=http://where.yahooapis.com/v1/place/1 json[77]['name']=Worldwide json[77]['woeid']=1 json[78]['name']=Jackson json[78]['parentid']=23424977 json[78]['url']=http://where.yahooapis.com/v1/place/2428184 json[78]['placeType']['name']=Town json[78]['placeType']['code']=7 json[78]['country']=United States json[78]['countryCode']=US json[78]['woeid']=2428184 json[79]['country']=United States json[79]['parentid']=23424977 json[79]['placeType']['code']=7 json[79]['placeType']['name']=Town json[79]['countryCode']=US json[79]['url']=http://where.yahooapis.com/v1/place/2514815 json[79]['name']=Washington json[79]['woeid']=2514815 json[80]['country']=Peru json[80]['parentid']=1 json[80]['placeType']['code']=12 json[80]['placeType']['name']=Country json[80]['countryCode']=PE json[80]['url']=http://where.yahooapis.com/v1/place/23424919 json[80]['name']=Peru json[80]['woeid']=23424919 json[81]['countryCode']=US json[81]['country']=United States json[81]['parentid']=23424977 json[81]['url']=http://where.yahooapis.com/v1/place/2471217 json[81]['name']=Philadelphia json[81]['woeid']=2471217 json[81]['placeType']['code']=7 json[81]['placeType']['name']=Town json[82]['name']=Norfolk json[82]['url']=http://where.yahooapis.com/v1/place/2460389 json[82]['parentid']=23424977 json[82]['country']=United States json[82]['placeType']['name']=Town json[82]['placeType']['code']=7 json[82]['woeid']=2460389 json[82]['countryCode']=US json[83]['country']=Sweden json[83]['placeType']['code']=12 json[83]['placeType']['name']=Country json[83]['countryCode']=SE json[83]['url']=http://where.yahooapis.com/v1/place/23424954 json[83]['name']=Sweden json[83]['woeid']=23424954 json[83]['parentid']=1 json[84]['country']=United States json[84]['parentid']=23424977 json[84]['placeType']['code']=7 json[84]['placeType']['name']=Town json[84]['url']=http://where.yahooapis.com/v1/place/2478307 json[84]['countryCode']=US json[84]['name']=Raleigh json[84]['woeid']=2478307 json[85]['placeType']['name']=Town json[85]['placeType']['code']=7 json[85]['name']=Charlotte json[85]['url']=http://where.yahooapis.com/v1/place/2378426 json[85]['countryCode']=US json[85]['country']=United States json[85]['woeid']=2378426 json[85]['parentid']=23424977 json[86]['placeType']['name']=Country json[86]['placeType']['code']=12 json[86]['name']=Mexico json[86]['countryCode']=MX json[86]['url']=http://where.yahooapis.com/v1/place/23424900 json[86]['country']=Mexico json[86]['parentid']=1 json[86]['woeid']=23424900 json[87]['country']=United States json[87]['parentid']=23424977 json[87]['placeType']['code']=7 json[87]['placeType']['name']=Town json[87]['url']=http://where.yahooapis.com/v1/place/2458833 json[87]['countryCode']=US json[87]['name']=New Orleans json[87]['woeid']=2458833 json[88]['country']=Peru json[88]['parentid']=23424919 json[88]['placeType']['code']=7 json[88]['placeType']['name']=Town json[88]['url']=http://where.yahooapis.com/v1/place/418440 json[88]['countryCode']=PE json[88]['name']=Lima json[88]['woeid']=418440 json[89]['country']=Spain json[89]['parentid']=23424950 json[89]['placeType']['code']=7 json[89]['placeType']['name']=Town json[89]['url']=http://where.yahooapis.com/v1/place/766273 json[89]['name']=Madrid json[89]['woeid']=766273 json[89]['countryCode']=ES json[90]['placeType']['name']=Town json[90]['placeType']['code']=7 json[90]['name']=Tallahassee json[90]['countryCode']=US json[90]['url']=http://where.yahooapis.com/v1/place/2503713 json[90]['country']=United States json[90]['parentid']=23424977 json[90]['woeid']=2503713 json[91]['name']=Dallas-Ft. Worth json[91]['url']=http://where.yahooapis.com/v1/place/2388929 json[91]['country']=United States json[91]['parentid']=23424977 json[91]['placeType']['name']=Town json[91]['placeType']['code']=7 json[91]['woeid']=2388929 json[91]['countryCode']=US json[92]['parentid']=1 json[92]['country']=Netherlands json[92]['placeType']['code']=12 json[92]['placeType']['name']=Country json[92]['countryCode']=NL json[92]['url']=http://where.yahooapis.com/v1/place/23424909 json[92]['name']=Netherlands json[92]['woeid']=23424909 json[93]['country']=United States json[93]['parentid']=1 json[93]['placeType']['code']=12 json[93]['placeType']['name']=Country json[93]['url']=http://where.yahooapis.com/v1/place/23424977 json[93]['countryCode']=US json[93]['name']=United States json[93]['woeid']=23424977 json[94]['parentid']=23424977 json[94]['name']=Cleveland json[94]['url']=http://where.yahooapis.com/v1/place/2381475 json[94]['placeType']['name']=Town json[94]['placeType']['code']=7 json[94]['countryCode']=US json[94]['country']=United States json[94]['woeid']=2381475 json[95]['name']=Phoenix json[95]['url']=http://where.yahooapis.com/v1/place/2471390 json[95]['parentid']=23424977 json[95]['country']=United States json[95]['placeType']['name']=Town json[95]['placeType']['code']=7 json[95]['woeid']=2471390 json[95]['countryCode']=US json[96]['country']=United States json[96]['parentid']=23424977 json[96]['url']=http://where.yahooapis.com/v1/place/2449323 json[96]['placeType']['code']=7 json[96]['placeType']['name']=Town json[96]['name']=Memphis json[96]['woeid']=2449323 json[96]['countryCode']=US json[97]['country']=New Zealand json[97]['parentid']=1 json[97]['placeType']['code']=12 json[97]['placeType']['name']=Country json[97]['countryCode']=NZ json[97]['woeid']=23424916 json[97]['name']=New Zealand json[97]['url']=http://where.yahooapis.com/v1/place/23424916 json[98]['country']=United States json[98]['parentid']=23424977 json[98]['placeType']['code']=7 json[98]['placeType']['name']=Town json[98]['countryCode']=US json[98]['url']=http://where.yahooapis.com/v1/place/2383660 json[98]['name']=Columbus json[98]['woeid']=2383660 json[99]['country']=France json[99]['parentid']=1 json[99]['placeType']['code']=12 json[99]['placeType']['name']=Country json[99]['countryCode']=FR json[99]['url']=http://where.yahooapis.com/v1/place/23424819 json[99]['name']=France json[99]['woeid']=23424819 json[100]['countryCode']=GB json[100]['country']=United Kingdom json[100]['parentid']=23424975 json[100]['url']=http://where.yahooapis.com/v1/place/12723 json[100]['name']=Birmingham json[100]['woeid']=12723 json[100]['placeType']['code']=7 json[100]['placeType']['name']=Town json[101]['country']=United States json[101]['parentid']=23424977 json[101]['placeType']['code']=7 json[101]['placeType']['name']=Town json[101]['countryCode']=US json[101]['url']=http://where.yahooapis.com/v1/place/2486982 json[101]['name']=St. Louis json[101]['woeid']=2486982 json[102]['name']=Orlando json[102]['url']=http://where.yahooapis.com/v1/place/2466256 json[102]['parentid']=23424977 json[102]['country']=United States json[102]['placeType']['name']=Town json[102]['placeType']['code']=7 json[102]['woeid']=2466256 json[102]['countryCode']=US json[103]['name']=Denver json[103]['parentid']=23424977 json[103]['url']=http://where.yahooapis.com/v1/place/2391279 json[103]['placeType']['name']=Town json[103]['placeType']['code']=7 json[103]['country']=United States json[103]['countryCode']=US json[103]['woeid']=2391279 json[104]['name']=Johannesburg json[104]['parentid']=23424942 json[104]['url']=http://where.yahooapis.com/v1/place/1582504 json[104]['placeType']['name']=Town json[104]['placeType']['code']=7 json[104]['country']=South Africa json[104]['countryCode']=ZA json[104]['woeid']=1582504 json[105]['country']=United States json[105]['placeType']['code']=7 json[105]['placeType']['name']=Town json[105]['countryCode']=US json[105]['url']=http://where.yahooapis.com/v1/place/2442047 json[105]['name']=Los Angeles json[105]['woeid']=2442047 json[105]['parentid']=23424977 json[106]['countryCode']=AE json[106]['name']=United Arab Emirates json[106]['url']=http://where.yahooapis.com/v1/place/23424738 json[106]['country']=United Arab Emirates json[106]['woeid']=23424738 json[106]['parentid']=1 json[106]['placeType']['name']=Country json[106]['placeType']['code']=12 json[107]['country']=United States json[107]['parentid']=23424977 json[107]['placeType']['code']=7 json[107]['placeType']['name']=Town json[107]['url']=http://where.yahooapis.com/v1/place/2418046 json[107]['countryCode']=US json[107]['name']=Harrisburg json[107]['woeid']=2418046 json[108]['countryCode']=US json[108]['name']=Baton Rouge json[108]['url']=http://where.yahooapis.com/v1/place/2359991 json[108]['country']=United States json[108]['woeid']=2359991 json[108]['parentid']=23424977 json[108]['placeType']['name']=Town json[108]['placeType']['code']=7 json[109]['name']=Santo Domingo json[109]['url']=http://where.yahooapis.com/v1/place/76456 json[109]['parentid']=23424800 json[109]['country']=Dominican Republic json[109]['placeType']['name']=Town json[109]['placeType']['code']=7 json[109]['woeid']=76456 json[109]['countryCode']=DO json[110]['country']=Brazil json[110]['parentid']=23424768 json[110]['placeType']['code']=7 json[110]['placeType']['name']=Town json[110]['url']=http://where.yahooapis.com/v1/place/455825 json[110]['countryCode']=BR json[110]['name']=Rio de Janeiro json[110]['woeid']=455825
設置サンプル(JSON)
Twitterで話題になっている情報を取得できる国と都市のリストを取得して、一覧表示します。

設置サンプル:trends.jsonサンプルを見る
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="ja" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> <title>Twitter API:ローカルトレンド関連:trends/abailable(Twitterで話題になっている情報を取得できる国と都市のリストを取得) | 設置サンプル</title> <link rel="stylesheet" type="text/css" href="/content/lib/global.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="/content/lib/jquery/jquery.jsonp.js"></script> <!-- JS --> <script type="text/javascript"> $(function(){ var url="http://api.twitter.com/1/trends/available.json?callback={callback}"; $.getJSONP(url, function(json){ var s=""; var ss=""; $.each(json, function(i, item){ if(i==0){ ss+="<tr><th>名称</th><th>URL</th><th>親ID</th><th>国名</th><th>場所の名前</th><th>場所タイプ</th><th>WOEID</th><th>国コード</th></tr>"; } s+="<tr>"; s+="<th>"+item.name+"</th>"; s+="<td>"+item.url+"</td>"; s+="<td>"+item.parentid+"</td>"; s+="<td>"+item.country+"</td>"; s+="<td>"+item.placeType.name+"</td>"; s+="<td>"+item.placeType.code+"</td>"; s+="<td>"+item.woeid+"</td>"; s+="<td>"+item.countryCode+"</td>"; s+="</tr>"; }); $("#res").html("<table><thead>"+ss+"</thead><tbody>"+s+"</tbody></table>"); }); }); </script> <style type="text/css"> table,th,td { font-size:11px; } table { width:99.9%; margin:0; padding:0; border-width:1px; border-style:solid; border-color:#ddd #ccc #ccc #ddd; border-collapse:separate; border-spacing:1px; } table th { padding:2px 5px; border-width:0 1px 1px 0; border-style:solid; border-color:#ccc; color:#536066; background-color:#eee; font-weight:bold; text-align:left; } table td { padding:2px 5px; border-width:1px; border-style:solid; border-color:#eee #ccc #ccc #eee; } table thead th { background-color:#ddd; } table thead td { background-color:#eee; } table thead td.hi { background-color:#ffffcc; } </style> </head> <body> <div id="wrap"> <h1>Twitter API:ローカルトレンド関連:trends/abailable(Twitterで話題になっている情報を取得できる国と都市のリストを取得) | 設置サンプル</h1> <p>このAPIは認証不要です。Twitterで話題になっている情報を取得できる国と都市のリストを取得して、一覧表示します。</p> <!-- CODE --> <div id="res"></div> <!-- / CODE --> </div> </body> </html>
trends/:woeid
指定したWOEIDの場所で話題になっているトピックTOP10を返す
unknown
http://api.twitter.com/1/trends/[:woeid].[xml|json]
指定したWOEIDの場所で話題になっているトピックTOP10を返します。 エンコードされたトレンドトピックの名前、Twitter検索に利用できるクエリパラメータ、Twitter検索URLの配列を返します。 このデータは、5秒間キャッシュされます。
パラメーター | 説明 | |
---|---|---|
woeid | 任意 |
トレンドを調べたい場所のYahoo! Where On Earth IDを指定。世界中で検索するにはWOEIDに1を指定します。 例)http://api.twitter.com/1/trends/1.json(世界中) 例)http://api.twitter.com/1/trends/2436704.json(Las Vegas) |
取得サンプル(XML/JSON)
1.json
json[0]['locations']['0']['name']=Worldwide json[0]['locations']['0']['woeid']=1 json[0]['as_of']=2011-05-23T06:51:46Z json[0]['trends']['0']['events']= json[0]['trends']['0']['name']=#20cutestfollowers json[0]['trends']['0']['query']=%2320cutestfollowers json[0]['trends']['0']['promoted_content']= json[0]['trends']['0']['url']=http://search.twitter.com/search?q=%2320cutestfollowers json[0]['trends']['1']['events']= json[0]['trends']['1']['name']=#pawsupbornthisway json[0]['trends']['1']['query']=%23pawsupbornthisway json[0]['trends']['1']['promoted_content']= json[0]['trends']['1']['url']=http://search.twitter.com/search?q=%23pawsupbornthisway json[0]['trends']['2']['events']= json[0]['trends']['2']['name']=#unamujeresatractiva json[0]['trends']['2']['query']=%23unamujeresatractiva json[0]['trends']['2']['promoted_content']= json[0]['trends']['2']['url']=http://search.twitter.com/search?q=%23unamujeresatractiva json[0]['trends']['3']['events']= json[0]['trends']['3']['name']=Mullah Omar json[0]['trends']['3']['query']=Mullah+Omar json[0]['trends']['3']['promoted_content']= json[0]['trends']['3']['url']=http://search.twitter.com/search?q=Mullah+Omar json[0]['trends']['4']['events']= json[0]['trends']['4']['name']=Sweet Caroline json[0]['trends']['4']['query']=Sweet+Caroline json[0]['trends']['4']['promoted_content']= json[0]['trends']['4']['url']=http://search.twitter.com/search?q=Sweet+Caroline json[0]['trends']['5']['events']= json[0]['trends']['5']['name']=Neil Diamond json[0]['trends']['5']['query']=Neil+Diamond json[0]['trends']['5']['promoted_content']= json[0]['trends']['5']['url']=http://search.twitter.com/search?q=Neil+Diamond json[0]['trends']['6']['events']= json[0]['trends']['6']['name']=GODNEY BILLBOARDNEY json[0]['trends']['6']['query']=GODNEY+BILLBOARDNEY json[0]['trends']['6']['promoted_content']= json[0]['trends']['6']['url']=http://search.twitter.com/search?q=GODNEY+BILLBOARDNEY json[0]['trends']['7']['events']= json[0]['trends']['7']['name']=Cole World json[0]['trends']['7']['query']=Cole+World json[0]['trends']['7']['promoted_content']= json[0]['trends']['7']['url']=http://search.twitter.com/search?q=Cole+World json[0]['trends']['8']['events']= json[0]['trends']['8']['name']=Sammy Sosa json[0]['trends']['8']['query']=Sammy+Sosa json[0]['trends']['8']['promoted_content']= json[0]['trends']['8']['url']=http://search.twitter.com/search?q=Sammy+Sosa json[0]['trends']['9']['events']= json[0]['trends']['9']['name']=Far East Movement json[0]['trends']['9']['query']=Far+East+Movement json[0]['trends']['9']['promoted_content']= json[0]['trends']['9']['url']=http://search.twitter.com/search?q=Far+East+Movement json[0]['created_at']=2011-05-23T06:37:20Z
設置サンプル(JSON)
Las Vegas(WOEID:2436704)で話題になっているトピックをTwitter検索リンク付きで一覧表示します。

設置サンプル:trends.jsonサンプルを見る
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="ja" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> <title>Twitter API:ローカルトレンド関連:trends/abailable(Twitterで話題になっている情報を取得できる国と都市のリストを取得) | 設置サンプル</title> <link rel="stylesheet" type="text/css" href="/content/lib/global.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="/content/lib/jquery/jquery.jsonp.js"></script> <!-- JS --> <script type="text/javascript"> $(function(){ var url="http://api.twitter.com/1/trends/2436704.json?callback={callback}"; $.getJSONP(url, function(json){ var s=""; var ss=""; $.each(json, function(i, item){ ss+="「"+item.locations[i].name+"」(WOEID:"+item.locations[i].woeid+")のトレンドトピック"; $.each(item.trends, function(j, item2){ s+="<li><a href='http://search.twitter.com/search?q="+item2.query+"' target='_blank'>"+item2.name+"</a></li>"; }); }); $("#res").html("<h2>"+ss+"</h2><ul>"+s+"</ul>"); }); }); </script> </head> <body> <div id="wrap"> <h1>Twitter API:ローカルトレンド関連:trends/abailable(Twitterで話題になっている情報を取得できる国と都市のリストを取得) | 設置サンプル</h1> <p>このAPIは認証不要です。Las Vegas(WOEID:2436704)で話題になっているトピックをTwitter検索リンク付きで一覧表示します。</p> <!-- CODE --> <div id="res"></div> <!-- / CODE --> </div> </body> </html>