Hacker Timesnew | past | comments | ask | show | jobs | submitlogin
Show HN: didtheywinornot.com Single Purpose Scores Site
33 points by apgwoz on May 21, 2010 | hide | past | favorite | 49 comments
I built didtheywinornot.com this week in my spare hours before work. Currently it only does baseball scores, but as new seasons start in the fall, I think I'll expand it to other sports.

Would love some feedback and any ideas as to how to make it better, keeping in mind that this is meant to be single purpose and not at all bloated. Did I miss a stat that people really care about? Is the amount of information good enough?



Cool, that's fun. Could be more fun if I wasn't an Indians fan :( Where are you getting stats from?


> Could be more fun if I wasn't an Indians fan :(

Question here from non-jerk Red Sox fan - whatever happened the Indians? I look at all the talent that club had over the last 10 years and it doesn't make any sense. Sabathia, Carmona, Lee, Hafner, Martinez, Sizemore... how come the Indians never got more done?

...oh, and at least you've still got Shin Soo Choo. That guy's a hell of a player. I'm visiting South Korea and everyone's crazy about him, I see more Indians hats than Sox or Yankees even.


Hafner fell off the map after hurting his shoulder. This also conveniently coincided with the height of the steroid blowup. His overpaid contract has crippled the team financially since just about the second he signed it.

CC and Lee were traded immediately after winning Cy Young Awards for prospects. That's not something you do when you want to keep a winning team together. Especially when the prospects you receive back have been less than thrilling so far.

Carmona seems to be running on the fumes and reputation of one successful season. Before that, he was a failed closer. Since then he's been up and down as a starter.

The Tribe sent Martinez to Boston because, while he's an awesome hitter, he's an average at best catcher and the team felt they had better prospects coming up behind him that would be cheaper (that's a recurring theme for the last decade or so).

The Indians are hampered by a cheap owner, an uninterested fan base, and a town that ranks them a solid #3 behind LeCavs and the Holiest of Holy Browns. Home attendance this year was right around 10,000 fans the last time I checked. The weather in Ohio hasn't been the best but that's still miserable for a team that had such a long sellout streak back in the day.


Indians GM Mark Shapiro read "Moneyball" and decided speed and defense meant absolutely nothing. He had, arguably, the best starting pitching in the Majors at some points, combined with the worst infield defense. They were streaky at the plate, and slow on the basepaths. They would lose to mediocre pitching 9 to 8, and good pitching 9 to 1.


I don't know. For some reason they never really put it all together. I've only loosely followed them since the 1997 world series. Been more of a Browns fan lately. It's easier because I don't have to worry about being disappointed. Any win is a celebration.


The data is coming directly from mlb.com, who provides a json feed for non-commercial use. I hope this continues to qualify, since I'm not running ads. :)


Another free option for data that a friend of mine uses:

http://developer.fanfeedr.com/

2400 API pulls a day for free and I think it includes all the major sports.


There was another site called Boxscore Junkie using that data that was quite nice. It had scores, detailed boxscores, and pitchFX data. Unfortunately it was apparently shut down a legal threat from MLB.

Link to the source: http://code.google.com/p/boxscore-junkie/


Ouch. I'll have to find another data source. I have to look into FanFeedr, which someone mentioned, maybe that'll work for me.


Yeah, that seems non-commercial.

One suggestion: After the initial team search, it would be nice to be able to browse the teams or games somehow. I liked the surprise of the score and description, and it would be cool to easily browse or view a random game or something like that.


Possible bug report.

I like it, but I typed in Mariners and it said they play San Diego "on the road" tonight, but it's a Mariners home game. So either it's unclear that it's saying San Diego is on the road, or it's incorrect because I typed in Mariners and it should say "at home".

MLB.tv's scoreboard homepage shows everything on one page though. Not sure why I'd go somewhere else.


I see the same bug. The site says the Phillies' next game is Satuday @ Boston.

They are playing the Red Sox at home and their next game is tonight, not tomorrow.


Interesting. I'll have to take a look. I got the schedule data from retrosheet.org, so it's possible that is inaccurate.

The other bug is related to the fact that today's game data isn't in the feed yet. I have to be smarter about what I show in that sort of situation, which I'll be addressing this weekend.


The World Cup starts next month. You could do something with that.


Like it, although for some reason, the autocomplete isn't working for me. If I type "Yankees", the box fills in "yankeesk Yankees".


known bug. I have to figure out if the jquery autocomplete plugin can act a bit more sane there. It should actually go to the correct place on enter though, right?


It goes to the correct place on Enter, just looks a bit weird.


This is pretty great actually, nice job. I like single purpose sites like this.

Couple of things:

1) Maybe just show the box score instead of "click for details". Its not much detail, so it seems pointless to require the extra click.

2) Is it possible to see their previous games from this week? With MLB especially its easy to get 2 games behind.

Looking forward to you adding the other sports.


Thanks!

1) Are there more details that I should add? I'm hesitant to add more noise to the page, which is why I leave it hidden, but if enough people want it by default, I'll definitely change it.

2) I am storing the scores for each game I've captured, so it's definitely possible. I'll put it on the list of things to do.


I'd like to see a box score when "Show the details" is clicked. (As opposed to the line score. I note some are calling what you now display a "box score.")


what's the difference between a box score and a line score? Sorry. I'm not really a baseball fan. :)

Edit: Thanks to wikipedia, I realize that you want player stats for the game. The feed I get doesn't include them, so I'd have to use another source.


A box score lists the players and gives summary statistics for each player. A line score just gives scoring by inning. http://en.wikipedia.org/wiki/Box_score_(baseball)


I second the box score idea. Also, where are you getting the data?



It's a cool idea. A few months ago, I set up

http://www.isthisgameworthwatching.com

for the same kind of reason, although mine is deliberately spoiler-free so you can find out whether or not you waste your time watching a tivo'ed game before you watch. For people who don't care about spoilers (or indeed even the score!), I like your idea a lot.


What would be nice is a feed of Yes's and No's to go along with each page.

Something like http://www.didtheywinornot.com/mlb/new-york-yankees/feed.rss to go with http://www.didtheywinornot.com/mlb/new-york-yankees/


Planned for this weekend.


Quick, add NHL teams before the playoffs are over.


The upcoming schedule stuff doesn't seem quite right. It says the Mariners' next game is "on the road" Saturday against the Padres. Their next game is actually tonight (Friday), at home. (But it is against the Padres. :))

http://www.didtheywinornot.com/mlb/seattle-mariners/


Hmm. Interesting. This gets a little tricky, because in a few hours, I'll start getting "in progress" and "pre-game" in the feeds, which means you'll end up seeing "They play the Padres today." Therefore, I don't currently use today's game, but the game after today. I'll figure out a way to fix this when I get a chance to do all the other things. :)


Would love to see this for NBA. Considering we're in the semifinals right now I would've expected it :)


I have plans for adding all the leagues, but I figured targetting baseball was a better idea since we still have the rest of the summer. By the fall, I hope to have the NFL, NBA, and NHL ready to go.


What was the goal in making this site? That might help in giving feedback. It is much quicker to type espn.com and check the top bar of the page.

Aside, Show/tell/remind HN prefixes and not including a link drives me crazy.


I usually just do this:

http://www.google.com/search?q=phoenix+suns

But I like how straight forward your approach is. It's a good link to send to a parent.


I thought this was going to be about the many court cases we hear about in the news, but never hear the results of. Pity.


I expected a story from show details. Definitely want a link to the full-story somewhere if the numbers catch my eye.


great love it !

but I didnt saw the "Show the details" before reading the comments. Maybe you can put it in red or underline..


Did you miss having the details? I almost didn't include them because I want to keep it as dirt simple as possible.


well, in a second times yes


An abbreviated URL would be nice. didtheywinornot.com is a little long.


It worked for downforeveryoneorjustme.com -- the inspiration (can you tell? ha) for didtheywinornot.com.


That's another one that's annoying :/

I created a keyword bookmark 'dfeojm' so I wouldn't have to type the whole thing in. I'll probably just create a 'dtwon' bookmark if I end up using the site oten.


What did you use to build?


bottle.py and sqlobject ontop of sqlite


Love it. Great app.


it cant find the habs. I dont think its working :S


this site needs an api... although... hmm... it probably just would be middle-man for the api it pulls from... but all the same.. this site needs an api...



I was disappointed when when this URL was not found. You should register it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: