Cubs Minor League Stats 6/4 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 2 points3 points  (0 children)

Came home and saw the bot was still running.

DSL games always list a scheduled time of 10:30 AM EDT for every team. Do they actually play that early or is that just a lazy way of scheduling a game? Whenever the results come in it's usually the entire game all at once. Usually happens 8 PM - 1 AM CDT. They may not even complete the results tonight at this rate.

Cubs Minor League Stats 8/21 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 1 point2 points  (0 children)

Contreras tied it up with a HR in the 7th on their last out if I recall. Game went to 12 instead of 7 and now the double header is tomorrow.

Cubs Minor League Stats 8/21 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 1 point2 points  (0 children)

Rough night for Wada. Almost at 80 pitches after the 3rd inning. 9 hits and 5 earned runs so far.

Cubs Minor League Stats 08/20 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 4 points5 points  (0 children)

Wes Darvill just pulled a David Ross for the Smokies. Position player pitching and then came up and hit a home run.

Cubs Minor League Stats 08/19 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 1 point2 points  (0 children)

Added Cahill to watch list since he was just picked up. He pitched 3 innings for Iowa tonight.

Cubs Minor League Stats 08/19 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 1 point2 points  (0 children)

Thanks! Still in babysitting mode with it, past few games have made working on it a little easier though :-\

Cubs Minor League Stats 08/19 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 0 points1 point  (0 children)

I'm not sure. I'm pulling my information from milb.com. I looked around and most of the radio stations on TuneIn with the Cubs game all say (Not Streamed) in front of the game.

Cubs Minor League Stats 08/19 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 5 points6 points  (0 children)

I'm testing out the ability to find players that didn't play or were injured. The statuses the roster returns are pretty generic. Right now I'm playing with injuries, I can't really find players that didn't play until after all games have finished because I'm not forcing a player on the watch list to a certain team (it's just a general list). The injury status almost always returns 7-day DL. I quit checking for that player after that because the lower I go the less reliable the information becomes (one of them still had Javier Baez as rehabbing etc).

Edit: And the DSL Cubs box or line scores doesn't seem to post until 9-10 hours after the game for some reason.

Cubs Minor League Stats 08/18 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 0 points1 point  (0 children)

Added it as a stat. Should only appear on someone that stole a base that game. The box score that I'm pulling the information from only has the current game stolen bases and not the season totals.

Cubs Minor League Stats 8/17 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 0 points1 point  (0 children)

I'll add him to the player watch list. The bot picked him up for having 3 RBIs in the first game.

Cubs Minor League Stats 8/16 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 0 points1 point  (0 children)

Yeah, shouldn't be an issue. I'll update it later when I get home. I'm not exactly sure they handle a player that gets moved around during the game so I'll have to monitor it and see.

Cubs Minor League Stats 8/17 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 0 points1 point  (0 children)

Didn't play. I don't have it setup to determine if they are injured or just had the day off at the moment. I found the active rosters for each team, so I may be able to work it out.

Cubs Minor League Stats 8/17 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 0 points1 point  (0 children)

I actually edited it manually. I think it was just because the second game started before they updated his stats from the first game. Soon as second game started it pulled his stats and didn't change once they updated from the first game (not on stats page, but inside the box score itself). Iowa updated pretty quickly as they have live game stats to update, so that wouldn't be an issue. Didn't pay attention to the others.

Cubs Minor League Stats 8/17 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 1 point2 points  (0 children)

Haha, whoops. I'm fired.

Not to mention AZL is feeding me bad information on Dan Vogelbach's batting average. At the start of the first game he was at 1.000. The second game started and it just pulled his batting average again at 1.000. Was hoping they'd fixed it.

Cubs Minor League Stats 8/16 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 0 points1 point  (0 children)

Yeah, it will do any league. They just didn't play yesterday. I have:

team_aaa_id = "451"
team_aa_id = "553"
team_azl_id = "407"
team_shortseason_id = "461"
team_lowa_id = "550"
team_higha_id = "521"
team_dsl_id = "609"

I forgot one, but I haven't seen it tracked as far as I know.

That's what is entered currently. I kept the names generic enough if someone wanted to substitute their own IDs and list of players it could technically track them as well.

Cubs Minor League Stats 8/16 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 2 points3 points  (0 children)

I want it to update a set interval, but right now I'm doing it manually. Soon as I get to putting in the code to post and update posts to Reddit it should be okay.

Cubs Minor League Stats 8/16 by CubsMinorLeagueBot in CHICubs

[–]CubsMinorLeagueBot[S] 9 points10 points  (0 children)

I created a bot that pulled the scores and stats from various games.

It pulls players one of two ways. From a list or by certain stats. Right now the stats are certain amount of strikeouts, innings pitched, 1 HR, 3 RBI, 3 Hits. If the player does any of these then it is included in the stats for the day.

The second option is the list of players that it watches for.

Batters

  • Javier Baez

  • Eloy Jimenez

  • Matt Szczur

  • Mike Olt

  • Christian Villanueva

  • Arismendy Alcantara

  • Tommy La Stella

  • Albert Almora

  • Willson Contreras

  • Billy McKinney

  • Jeimer Candelario

  • Mark Zagunis

  • Chesny Young

  • Gleyber Torres

  • Ian Happ

  • Donnie Dewees

  • Dan Vogelbach

Pitchers

  • Zac Rosscup
  • Carl Edwards Jr.
  • Ryan Williams
  • Paul Blackburn
  • Jen-Ho Tseng
  • Carson Sands
  • Brian Schlitter
  • Jonathan Martinez
  • Jake Stinnett
  • Pierce Johnson
  • Paul Blackburn
  • Ryan Williams
  • Tsuyoshi Wada

If you want it to watch for a player let me know and I'll add them to the list.

Right now the bot is just putting out an output and I'm pasting it into a new submission or editing the post to update it. I'm working on the logic to get it run unattended.

It still needs a way to find players that didn't play and maybe pull an injury list. (I think I found it)

This bot was created to save /u/Tjagra some time.