Price Guide Dollar Values on Your League Homepage

12 Comments
April 17th, 2009 by
Categories: Greasemonkey Scripts, Price Guide, Site News

Having unveiled in-season fantasy dollar values, I’m ready to reveal my latest project — Price Guide values on your league homepage.

The screenshots below are Price Guide values inserted into one of Yahoo’s expert fantasy leagues – the Friends and Family League. The values are customized for the settings of this exact league (14 teams, 1 catcher, 2 Util).

Here’s the pitching staff for Brad Evans, currently in last place:

Brad Evans and a Last Place Team

Some free agents:

Free Agents with Dollar Values

Transactions:

Recent Transactions

It’s all done through the magic of the Firefox plugin Greasemonkey, and it is completely customizable for your specific league settings.

If you have Greasemonkey installed and are at least mildly comfortable editing scripts, you can try out the Yahoo league version for yourself. All you should have to do is replace the Price Guide URL in the script with the URL for your league.

Suggestions are welcome. Once everything is polished up I’ll see about putting it out on UserScripts.org.

Related posts:

12 Responses to “Price Guide Dollar Values on Your League Homepage”

  1. Jeremy says:

    Thanks for this tool. I tried it out on my custom league and it worked great. What is the string to get 2009 projected values instead of YTD? I see that it’s 09S for YTD 09 stats.

  2. Mays says:

    Right now it only works with the year-to-date. Yahoo uses a 4-digit ID to identify players, and I haven’t ID’ed players in the projections.

  3. BobbyRoberto says:

    Very, very cool.

  4. Tyler says:

    Just fantastic.

  5. John says:

    Great idea, and well done!

  6. Ron says:

    You got one for ESPN yet?

  7. Mays says:

    @Ron: I’ve got one working for AllStarStats (easy, because they use the same IDs as Yahoo).

    My next priority is CBS, and then probably ESPN. The biggest challenge is matching up the IDs from each of the websites… If someone knows of a source or has some free time, let me know.

  8. Joe says:

    “The values are customized for the settings of this exact league (14 teams, 1 catcher, 2 Util).”

    How do I customize it for my league?

  9. Mays says:

    @Joe: Enter your league settings in the Price Guide, and you should see links at the top of the results. Those links are Greasemonkey scripts that are customized for your league.

  10. Mike says:

    The Yahoo version seems to be broken for multiple leagues. The default http://baseball.fantasysports.yahoo.com/*
    works fine but when you replace it with a unique address http://baseball.fantasysports.yahoo.com/b1/12345 (where 12345 is the league number), it doesn’t work. I was trying to create unique scripts for each of my very different leagues. Thanks!

  11. Mays says:

    @Mike: I’m not having any trouble setting up multiple leagues as long as I use this:

    http://baseball.fantasysports.yahoo.com/b1/12345/*

    You might just need the asterisk on the end for it to work.

  12. Mike says:

    The “/*” at the end was the needed addition. Works great! Thank you.

Leave a Reply