geo.getTopTracks: Valid values for metro/location?

 
    • [Deleted user] said...
    • User
    • 13 Aug 2009, 12:56

    geo.getTopTracks: Valid values for metro/location?

    Yesterday's site update contained an update for geo.getTopTracks, allowing us to retrieve track data by city as well as country.

    It's great (really great), but I'm struggling to determine what are valid values for the city. For instance, I can poll London and Birmingham without any problems, but Cambridge, Peterborough and Norwich all give me the same error: "No Metro with that name"

    Is this a bug? Or, is there some way to determine which specific cities are supported?

  • I'm not sure if that applies here, but from a statistical (base population) and technical (ip geolocation) point of view it would make sense to restrict the data to large cities.

    http://en.wikipedia.org/wiki/Metropolis

    For Birmingham the playcounts are already pretty small. In Cambridge, Peterborough and Norwich the error would probably be greater than the actual value.

  • It's really great--

    • toc-rox said...
    • User
    • 14 Aug 2009, 08:08
    Is a list with valid metros available?

    • dunk said...
    • Alumni
    • 15 Aug 2009, 14:06
    I believe that we have a set list of metros which was decided some time ago and only includes places where we have enough data to make a service meaningful. I will get the list for you. We may stick that into another service so you can get it programmatically. The actual docs will be up soon too.

    • dunk said...
    • Alumni
    • 17 Aug 2009, 13:48
    I have the list for you. Hopefully at some point in the future we can let you access this from a webservice instead. These are the cities we are currently supporting -- we're aware that the coverage is not complete yet, so bear with us as we gradually add to this list. Also, the docs for those new services now work.

    Australia Adelaide
    Australia Sydney
    Australia Melbourne
    Austria Salzburg
    Austria Graz
    Austria Linz
    Austria Vienna
    Austria Innsbruck
    Belarus Minsk
    Belgium Antwerp
    Belgium Ghent
    Belgium Brussels
    Belgium Liège
    Belgium Charleroi
    Brazil Belém
    Brazil São Paulo
    Brazil Rio de Janeiro
    Brazil Salvador
    Brazil Fortaleza
    Brazil Belo Horizonte
    Brazil Brasília
    Brazil Curitiba
    Brazil Manaus
    Brazil Recife
    Brazil Porto Alegre
    Canada Quebec
    Canada Winnipeg
    Canada Calgary
    Canada Saskatoon
    Canada Halifax
    Canada Vancouver
    Canada Ottawa
    Canada Edmonton
    Canada Toronto
    Canada Montreal
    Chile Santiago
    Chile Valparaíso
    China Tianjin
    China Chongqing
    China Changsha
    China Shanghai
    China Beijing
    China Guangzhou
    Colombia Bogotá
    Denmark Copenhagen
    Finland Helsinki
    France Lyon
    France Nantes
    France Paris
    France Grenoble
    France Montpellier
    France Metz
    France Rennes
    France Clermont-Ferrand
    France Nancy
    France Toulouse
    France Nice
    France Bordeaux
    France Lille
    France Marseille
    France Strasbourg
    Germany Cologne
    Germany Rostock
    Germany Magdeburg
    Germany Bremen
    Germany Berlin
    Germany Stuttgart
    Germany Hamburg
    Germany Munich
    Germany Frankfurt
    Germany Dresden
    Hong Kong Hong Kong
    Ireland Belfast
    Ireland Dublin
    Italy Genoa
    Italy Turin
    Italy Naples
    Italy Bari
    Italy Milan
    Italy Bologna
    Italy Florence
    Italy Palermo
    Italy Rome
    Japan Kyoto
    Japan Fukuoka
    Japan Shizuoka
    Japan Tokyo
    Japan Osaka
    Japan Kobe
    Japan Sendai
    Japan Hiroshima
    Japan Nagoya
    Japan Niigata
    Japan Sapporo
    Japan Saitama
    Mexico Villahermosa
    Mexico Monterrey
    Mexico Mérida
    Mexico Puebla
    Mexico Mexicali
    Mexico Mexico City
    Mexico Guadalajara
    Mexico Ciudad Juárez
    Mexico Tijuana
    New Zealand Christchurch
    New Zealand Wellington
    New Zealand Auckland
    Norway Oslo
    Norway Bergen
    Poland Warsaw
    Poland Szczecin
    Poland Katowice
    Poland Cracow
    Poland Poznań
    Poland Wrocław
    Poland Gdańsk
    Poland Łódź
    Portugal Coimbra
    Portugal Vila Nova de Gaia
    Portugal Porto
    Portugal Lisbon
    Portugal Matosinhos
    Portugal Bragança
    Portugal Aveiro
    Portugal Braga
    Portugal Évora
    Portugal Faro
    Portugal Setúbal
    Russian Federation Ekaterinburg
    Russian Federation Ryazan
    Russian Federation Saint Petersburg
    Russian Federation Penza
    Russian Federation Moscow
    Russian Federation Ufa
    Spain Alicante
    Spain Granada
    Spain Barcelona
    Spain Valencia
    Spain Madrid
    Spain A Coruña
    Spain Gijón
    Spain Seville
    Spain Burgos
    Spain Murcia
    Spain Bilbao
    Spain Salamanca
    Spain Oviedo
    Spain Zaragoza
    Sweden Linköping
    Sweden Gothenburg
    Sweden Malmö
    Sweden Stockholm
    Sweden Uppsala
    Sweden Västerås
    Sweden Umeå
    Switzerland Fribourg
    Switzerland Basel
    Switzerland Berne
    Switzerland Zurich
    Switzerland Winterthur
    Switzerland Lucerne
    Switzerland Geneva
    Switzerland Lausanne
    Switzerland St. Gallen
    Taiwan Taipei
    Turkey Ankara
    Turkey Adana
    Turkey Istanbul
    Turkey İzmir
    Turkey Antalya
    Turkey Bursa
    Ukraine Odesa
    Ukraine Kyiv
    United Kingdom Edinburgh
    United Kingdom Birmingham
    United Kingdom Brighton
    United Kingdom Liverpool
    United Kingdom Leeds
    United Kingdom Glasgow
    United Kingdom Aberdeen
    United Kingdom Manchester
    United Kingdom Exeter
    United Kingdom Newcastle
    United Kingdom London
    United Kingdom Cardiff
    United Kingdom Plymouth
    United Kingdom Newport
    United Kingdom Southampton
    United Kingdom Nottingham
    United Kingdom Bristol
    United States San Jose
    United States Austin
    United States Boston
    United States Portland
    United States Richmond
    United States Las Vegas
    United States Sacramento
    United States Detroit
    United States Chicago
    United States St Louis
    United States Indianapolis
    United States Louisville
    United States Cincinnati
    United States Syracuse
    United States Rochester
    United States New York
    United States Miami
    United States Phoenix
    United States Los Angeles
    United States San Diego
    United States San Francisco
    United States Buffalo
    United States Orlando
    United States Philadelphia
    United States Minneapolis
    United States Cleveland
    United States Columbus
    United States Pittsburgh
    United States Washington DC
    United States Tampa
    United States El Paso
    United States West Palm Beach
    United States Milwaukee
    United States Baltimore
    United States Virginia Beach
    United States Denver
    United States Little Rock
    United States Memphis
    United States Nashville
    United States Seattle
    United States Atlanta
    United States Houston
    United States New Orleans
    United States Pensacola
    United States Jacksonville

  • If the list of metros is made available via a webservice, could we have a way to search for the nearest metro to a specific location (possibly restricted to the same county, state, or region).
    This could then make the geo.getTopTracks even more useful. For example, If I pass a location which is in the West Midlands the webservice could return Birmingham as the metro and I could get the top tracks for there.

    • ceosp said...
    • User
    • 23 Nov 2009, 00:48

    Metro doesn't return values

    the metro: "Brazil Rio de Janeiro" is not retuning any data... any idea why?
    thanks, ceosp

  • Hello ceosp,

    looks this city is missing in the charts yes. We are working on a fix, next week's charts (next Monday) will include Rio.

    thanks for spotting this.

    Edit: We do not calculate charts for Rio de Janeiro yet, but we're working in adding tons of new cities soon, and of course this will include Río.

    Sorry for the wrong list.

  • Here you have the list of the valid cities with their _exact_ spelling, we hope to add lots more soon:

    Boston
    London
    Manchester
    Newcastle
    Edinburgh
    Glasgow
    Aberdeen
    Belfast
    Dublin
    Cardiff
    Newport
    Bristol
    Birmingham
    Brighton
    Liverpool
    Leeds
    Exeter
    Berlin
    Plymouth
    Stuttgart
    Nottingham
    Southampton
    Hamburg
    Bilbao
    Munich
    Madrid
    Valencia
    Barcelona
    Porto
    Frankfurt
    Dresden
    Rostock
    Auckland
    Wellington
    Christchurch
    Warsaw
    Cracow
    New York
    Little Rock
    Memphis
    Nashville
    Atlanta
    Miami
    Orlando
    Tampa
    El Paso
    Phoenix
    Los Angeles
    San Diego
    San Francisco
    San Jose
    Sacramento
    Las Vegas
    Portland
    Seattle
    Edmonton
    Saskatoon
    Calgary
    Winnipeg
    Quebec
    Montreal
    Ottawa
    Toronto
    Buffalo
    Rochester
    Syracuse
    Cincinnati
    Louisville
    Indianapolis
    Chicago
    Detroit
    Houston
    New Orleans
    Pensacola
    Jacksonville
    Richmond
    Virginia Beach
    Baltimore
    Pittsburgh
    Cleveland
    Columbus
    Minneapolis
    Stockholm
    Oslo
    Helsinki
    Rome
    Naples
    Milan
    Sydney
    Melbourne
    Adelaide
    Tokyo
    Milwaukee
    Vancouver
    Paris
    Zurich
    Lyon
    Basel
    Denver
    Berne
    Marseille
    Lucerne
    Lille
    Bordeaux
    Strasbourg
    Nantes
    Bremen
    Halifax
    Bergen
    Seville
    Gijón
    Oviedo
    A Coruña
    Salamanca
    Alicante
    Murcia
    Granada
    Burgos
    Winterthur
    Fribourg
    Geneva
    Lausanne
    Szczecin
    Katowice
    Moscow
    Copenhagen
    Malmö
    Umeå
    Uppsala
    Linköping
    Västerås
    Salzburg
    Graz
    Linz
    Vienna
    Lisbon
    Coimbra
    Setúbal
    Faro
    Évora
    Braga
    Aveiro
    Bragança
    Matosinhos
    São Paulo
    Salvador
    Belo Horizonte
    Brasília
    Curitiba
    Manaus
    Recife
    Porto Alegre
    Belém
    Gothenburg
    Innsbruck
    Magdeburg
    Istanbul
    Ankara
    Bursa
    Adana
    Shanghai
    Beijing
    Saint Petersburg
    Minsk
    Ryazan
    Ufa
    Penza
    Turin
    Palermo
    Genoa
    Bologna
    Florence
    Bari
    Chongqing
    Guangzhou
    Changsha
    Tianjin
    Osaka
    Nagoya
    Sapporo
    Kobe
    Kyoto
    Taipei
    Zaragoza
    Sendai
    Shizuoka
    Hiroshima
    Fukuoka
    Niigata
    Rennes
    Toulouse
    Nice
    Grenoble
    Nancy
    Metz
    Montpellier
    Liège
    Charleroi
    Brussels
    Ghent
    Antwerp
    Antalya
    Austin
    Philadelphia
    West Palm Beach
    Guadalajara
    Tijuana
    Monterrey
    Mérida
    Puebla
    Villahermosa
    Mexicali
    Santiago
    Valparaíso
    Bogotá

  • Just a question: Knapster01 said in this thread that you would no longer keep any location information regarding scrobbles. So how exactly do you calculate these metro charts? Is it based on the user's location settings from the event page? Or do you collect and aggregate that data on the fly similar to the non-persistent 'now listening' and 'recent visitors' lists?

    it would help if you could shed some light on this because statistics are only as good as the knowledge about the sources. thanks

    • ceosp said...
    • User
    • 4 Dec 2009, 00:32

    Metro doesn't return values

    Hi grindthemall!

    I found another empty Metro: Brazil Fortaleza

    Thank you!

    ceosp

    • janit0r said...
    • Subscriber
    • 13 Jan 2010, 23:20

    Metro request

    Can you please add
    United States : St. Louis
    to the list? I see it included on the first, but not second post, and variations of the following return no results.

    http://ws.audioscrobbler.com/2.0/?method=geo.getmetroartistchart&country=United%20States&metro=St%20Louis&api_key=...

    Thanks!

  • [spam]

    [spam]

    Edited by Babs_05 on 15 Dec 2010, 00:15
Anonymous users may not post messages. Please log in or create an account to post in the forums.