# Yahoo WOEIDs

**URL:** <https://discuss.rubyonrails.org/t/yahoo-woeids/48281>\
**Category:** rubyonrails-talk\
**Created:** [December 31, 2009, 9:08am UTC](https://discuss.rubyonrails.org/t/yahoo-woeids/48281 "2009-12-31T09:08:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [December 31, 2009, 9:08am UTC](https://discuss.rubyonrails.org/t/yahoo-woeids/48281/1 "2009-12-31T09:08:23Z")

</div>

I need to make a stab a getting a whole load of yahoo WOEIDs. Doesn't matter if some are wrong but I don't fancy typing 1000 of them, I have 1000 place names and I'd like to grab just one WOEID for each... has anyone done anything like this before.

I figure I'll need to write a ruby program to do it.

Any clues I have no idea where to start.

I'd like to get a csv list with

PlaceName,SerialNumber,WOEID

The PlaceName and SerialNumber I have, the WOEID yahoo has.
