View Single Post
Old 04-18-2014, 01:16 PM   #39
Reventlov
Member
Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.
 
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
I'd remove this api key from this public page. Looking at the answer of wunderground, it appears that there are many towns named hamburg:
Code:
     "results": [
            {
                "city": "Hamburg", 
                "country": "CA", 
                "country_iso3166": "CA", 
                "country_name": "", 
                "l": "/q/zmw:00000.3.71221", 
                "name": "Hamburg", 
                "state": "AB", 
                "zmw": "00000.3.71221"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:71646.1.99999", 
                "name": "Hamburg", 
                "state": "AR", 
                "zmw": "71646.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:06371.2.99999", 
                "name": "Hamburg", 
                "state": "CT", 
                "zmw": "06371.2.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "DL", 
                "country_iso3166": "DE", 
                "country_name": "Deutschland", 
                "l": "/q/zmw:00000.3.10147", 
                "name": "Hamburg", 
                "state": "", 
                "zmw": "00000.3.10147"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:62045.1.99999", 
                "name": "Hamburg", 
                "state": "IL", 
                "zmw": "62045.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:51640.1.99999", 
                "name": "Hamburg", 
                "state": "IA", 
                "zmw": "51640.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:71339.1.99999", 
                "name": "Hamburg", 
                "state": "LA", 
                "zmw": "71339.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:48139.1.99999", 
                "name": "Hamburg", 
                "state": "MI", 
                "zmw": "48139.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:55339.1.99999", 
                "name": "Hamburg", 
                "state": "MN", 
                "zmw": "55339.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:07419.1.99999", 
                "name": "Hamburg", 
                "state": "NJ", 
                "zmw": "07419.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:14075.1.99999", 
                "name": "Hamburg", 
                "state": "NY", 
                "zmw": "14075.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:19526.1.99999", 
                "name": "Hamburg", 
                "state": "PA", 
                "zmw": "19526.1.99999"
            }, 
            {
                "city": "Hamburg", 
                "country": "US", 
                "country_iso3166": "US", 
                "country_name": "Vereinigte Staaten", 
                "l": "/q/zmw:54411.2.99999", 
                "name": "Hamburg", 
                "state": "WI", 
                "zmw": "54411.2.99999"
            }
Pick one by changing the query "Hamburg" to something else, as described here: http://www.wunderground.com/weather/...s?d=data/index

For information, it can be anything listed here:
Code:
Example                               Description                                                                                                                     
-----------------------------------------------------------------
CA/San_Francisco                      US state/city
60290                                 US zipcode
Australia/Sydney                      country/city
37.8,-122.4                           latitude,longitude
KJFK                                  airport code
pws:KCASANFR70                        PWS id
autoip                                AutoIP address location
autoip.json?geo_ip=38.102.136.138     specific IP address location

Last edited by Reventlov; 04-18-2014 at 01:40 PM.
Reventlov is offline   Reply With Quote