NHL
Updates 15:30 und von 18 Uhr bis 8:40 Uhr alle 20 Min.
NHL Log
Auto-tweeting is ON: shn
Stats for the Swiss in the NHL games from 2024-05-06
Using Python in /home/meyertob/shn310/bin/python3
run 07.05.2024 at 08:40
(last 10 tweets posted: 2023030173, 2023030163, 2023030183, 2023030164, 2023030174, 2023030184, 2023030165, 2023030175, 2023030185, 2023030176)
Watching 14 Swiss players:
8481072 Tim Berni - (CBJ)
8483425 Lian Bichsel - (DAL)
8484414 Rodwin Dionicio - (ANA)
8477942 Kevin Fiala LAK
8480002 Nico Hischier NJD
8474600 Roman Josi NSH
8480798 Philipp Kurashev CHI
8478414 Timo Meier NJD
8482655 J.J. Moser ARI
8475799 Nino Niederreiter WPG
8481033 Akira Schmid - (NJD)
8478399 Jonas Siegenthaler NJD
8480459 Pius Suter VAN
8484372 Ludovic Waeber - (PIT)
Watching these 7 teams (with Swiss on their roster, according to the API):
ARI, CHI, LAK, NJD, NSH, VAN, WPG
Teams in the *swissteamsFix* from the setup are (also) always watched:
ARI, CHI, LAK, NJD, NSH
Response from NHL schedule API: 200
200, that's fine.
------------------------------------
Current schedule: 1 games on 2024-05-06 (NA date).
ID 2023030211: BOS @ FLA 5-1 after REG
(No Swiss involved)
No stats because there was no game with Swiss on 2024-05-06.
Stats included: TOI, +/-, G (if any), A (if any), SOG (if any), missed S (if > 5),
PPTOI (if > 00:40), PKTOI (if > 00:40), HITS (if > 2), BKS (if > 2),
TKA (if > 2), GVA (if > 2), FO (if > 6 taken), and penalties (if major or > 3 minor)
For Goalies: saves/shots against, SV%, G, A (if any ;)) and info in case of short TOI.
FO, TKA, GVA are omitted if the tweet gets too long.
Lower values are shown if there is nothing else.
Change-Log
Change-Log
2023-2024
04- wait longer after game, until stars available! (->will also have recap then)
04-28 fix OT period counter, series score
04-21 fix: playoff series score from new api /score
03-21 fix: api removed 'bosxscore' key from /boxscore
03-07 started to fix this: got BLK, TKA, FO, etc. from pxp
03-06 muted BLK, FO, PP and PK TOI, as not in boxscore any more!
02-18 set PWHL tweets live, key still working so...
02-01 new all-star gameType
01-25 integrated PWHL for second test - is API key constant??
11-16 fixed goalie stats (points). again.
11-01 team names now dict?! need to get down to default
10-22 some details, faster roto_ir
10-14 fixed tweepy reply error (data.['id'] for v2)
and cut tweet lenght again (no 5000chars via api...)!
10-11 adjusted preview_scrape to fit new nhl.com (rotowire backup)
10-08 adapted everything to new api-web.nhle for normal stuff to work
10-01 added (replaced?) rotowire json for the injury preview
09-22 -> scoreboard discord and #110 in gitlab.com/dword4/nhlapi/
09-21 NHL completely changed API?!
need to find new endpoints, rework a lot :|
09-05 Player things: added Waeber, Dionicio, later Heim (sorry)
09-05 Ready for new season? Admin: tweet length raised to 500
2022-2023
03-05 enabled splitting long one-team tweets for VSTs
11-14 fixed some SO events that seem to be new
11-11 and 11-22 more shortening
will need possibility to split tweets with only one team...
09-30 new version for backup goalie
09-29 fixed penalty stats for unpersonal penalties
06-xx Minor changes: CH players, separated changelog
2021-2022
01-01 Damn you NHL. When putting guys back in the line-up,
how bout putting them back on the roster too?!
11-01 fixed shortening error.
10-19 New shortening with N. Initials.
10-12 ...or not.
08-16 Integrated season stats for scorers.
07-02 Made year dynamic, in preview scrape too. Set-up for new season.
2020-2021
05-31 Fixed error due to rd 2 starting before all matchups are known
05-16 Some adjustments for playoffs due to different preview style
04-30 Seattle is in the API now but doesn't have a conference yet,
which messes it up - duh!
04-24 corrected yet another Covid-related issue :/
PWHL
Updates von 21 bis 23:40 Uhr und 6 bis 7:40 Uhr alle 20 Min (mit NHL).
Champions Hockey League
Updates wenn relevant: an Spieltagen während Spielen
CHL-Tweets
Updates jeweils wenn sich etwas am Spielstand ändert oder ein Drittel beginnt/endet.
INFO - Using Python: /home/meyertob/shn310/bin/python3.
Working dir: /home/meyertob - oh.
INFO - Looking for games on 2024-05-07 CHL
INFO - Watching ('SCRJLakers', 'EHCB', 'GSHC')
INFO - No games to watch on 2024-05-07. End program.
CHL Log
05-07 05:05:00 MainThread
05-07 05:05:00 MainThread
05-07 05:05:00 MainThread
05-07 05:05:00 MainThread get_schedule DEBUG API response: 200 - Working well. https://www.championshockeyleague.com/api/s3?q=schedule-21ec9dad81abe2e0240460d0-384dfd08cf1b5e6e93cd19ba.json
05-07 05:05:00 MainThread
IIHF Tournaments
Updates wenn relevant: an Spieltagen während Spielen
IIHF-Tweets
Updates jeweils wenn sich etwas am Spielstand ändert oder ein Drittel beginnt/endet.
INFO - multi.py
INFO - Looking for games on 2024-05-07 WM
INFO - Watching ('SUI',)
INFO - This tournament - WM - has the next game scheduled on 2024-05-10T14:20:00Z.
INFO - No games to watch on 2024-05-07. End program.
IIHF-Log
05-07 05:00:47 MainThread
05-07 05:00:47 MainThread
05-07 05:00:47 MainThread
05-07 05:00:47 MainThread
05-07 05:00:47 MainThread
05-07 05:00:47 MainThread get_schedule DEBUG API response: 200 - Working well. https://realtime.iihf.com/gamestate/GetLatestScoresState/902
05-07 05:00:47 MainThread
05-07 05:00:47 MainThread