codeforboston / CutePetsBoston

This is a twitter bot that posts a random adoptable pet from Petfinder.com.
https://twitter.com/CutePetsBoston
MIT License
7 stars 3 forks source link

Display 'options' information? #2

Open ohnorobo opened 10 years ago

ohnorobo commented 10 years ago

Some animals include data like

{"options"=>
  {"option"=>
    [{"$t"=>"hasShots"},
     {"$t"=>"noDogs"},
     {"$t"=>"altered"},
     {"$t"=>"housetrained"}]},

And some have none of this information. It displaying any of this worth the precious tweet room?

beechnut commented 10 years ago

I can see a point down the line where we include some of these, especially house-training, if there's enough tweet space.

For now, let's stay with the data we've been using.

beechnut commented 10 years ago

We have plenty of extra characters, so we should be comfortable to add another attribute or two. I vote 'house-trained' as the top priority.

ohnorobo commented 10 years ago

Most of the work here is probably in figuring out which options are common enough to be worth displaying. (The only one I saw regularly was 'altered,' but I wasn't looking very hard.)