Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
I need help from somebody who knows programming?
Hello,
I am currently making a program using java in Eclipse. The program takes a players baseball stats a runs some algorithms and then formats them into a special card. I don't really need help with that part, but what I do need help with is that as of right now, I need to look up and type in all of the stats into my program. I would like to be able to just give a web address of the page containing the stats, and then have the program find all of the values and insert them in the variables i have for, homeruns, strikeouts etc..
I don't know how to locate what I need. The site I need to do this from is called retro sheet. Here is an example of a players page.
http://www.retrosheet.org/boxesetc/1930/Jwilsh1020...
I need to get for instance AB vs RHP, which would be 329, and have my variable in my program for AB now equal 329.
Does anybody have any idea of how to do this?
I would really appreciate any help.
Thank you so much for reading.
2 Answers
- Puter_NotgeekLv 58 years ago
If you know how to do the code and reading in file, yeah a coma delimited file would work.
Here are some. You can copy and paste this into excel
Batting
http://sports.yahoo.com/mlb/stats/by...06&qualifie...
Pitching
- Anonymous8 years ago
I would recommend you copy the baseball stats into a CSV file.
From that CSV file, you can use OpenCSV (http://opencsv.sourceforge.net/) to read the CSV file in your java program.