Commit Graph

88 Commits

Author SHA1 Message Date
filifa 0764493f5a make leagueflag type 2024-07-28 19:19:10 -05:00
filifa 30d52f5f25 add standings subcommand 2024-07-28 19:07:59 -05:00
filifa 5366cea515 change name of KBO sportId 2024-07-28 17:59:47 -05:00
filifa 0a76d7129b add leagueIds 2024-07-28 17:54:40 -05:00
filifa c20a289c06 use sport abbrevs instead of ids 2024-07-28 17:35:56 -05:00
filifa 957077b581 add sportId consts 2024-07-28 17:35:07 -05:00
filifa a84f31670b add sportId param 2024-07-28 16:00:37 -05:00
filifa 366e55146a add date param 2024-07-28 15:16:01 -05:00
filifa 6a8e39a431 add readme 2024-07-28 14:10:40 -05:00
filifa 3c4f51e94d add content subcommand 2024-07-23 19:04:57 -05:00
filifa cc59c2bfc8 add feed command 2024-07-20 20:41:00 -05:00
filifa a0a210a4e2 return pointer to websocket 2024-07-20 18:47:22 -05:00
filifa 1fe327c68c refactor 2024-07-20 18:47:18 -05:00
filifa 9238a8e03b change func signature 2024-07-20 15:30:05 -05:00
filifa 2fe2b615c9 format 2024-07-20 15:15:35 -05:00
filifa bb58d07706 add helper function 2024-07-20 15:08:53 -05:00
filifa be70ee7330 add exceptions for finished games 2024-07-20 15:08:34 -05:00
filifa 5e471f5c2c handle unexpected websocket closures 2024-07-20 13:11:10 -05:00
filifa 02ddfbf2b9 don't allow args 2024-07-20 12:30:13 -05:00
filifa 0418d533dd simplify get 2024-07-20 12:05:23 -05:00
filifa 0ac209dda9 make team flag optional 2024-07-19 22:21:50 -05:00
filifa 8051308692 update help text 2024-07-19 22:21:47 -05:00
filifa 9f528ab4ae move live data to subscribe subcommand 2024-07-19 21:59:25 -05:00
filifa 422e666d9f add schedule subcommand 2024-07-19 21:42:35 -05:00
filifa 16b7f42695 try to simplify extractpatches 2024-07-14 21:32:00 -05:00
filifa 912c2d90b9 add .gitignore 2024-07-14 19:54:14 -05:00
filifa adc5c592f2 unexport some types 2024-07-14 19:41:40 -05:00
filifa 343a15893d update long explain 2024-07-14 19:37:35 -05:00
filifa 8c03a8308a clarify usage 2024-07-14 19:29:38 -05:00
filifa d544a1f052 add copyright header 2024-07-14 19:29:19 -05:00
filifa d640214f0e list team codes in help 2024-07-14 19:25:18 -05:00
filifa 6480297c5c remove unneeded checks 2024-07-14 19:20:20 -05:00
filifa dd11139d3d let team flag be any case 2024-07-14 19:14:56 -05:00
filifa a0ae93a2b2 move teamids map to cmd 2024-07-14 19:12:55 -05:00
filifa 8be2e5de9e use teamids map 2024-07-14 18:12:24 -05:00
filifa ca87734314 create custom type for team flag 2024-07-14 18:05:07 -05:00
filifa 3198577f50 fallback to feed if patch fails to apply 2024-07-14 17:14:10 -05:00
filifa 435f598834 use markdown version of license 2024-07-14 16:59:13 -05:00
filifa 3d2c5dbea8 add copyright headers 2024-07-14 16:52:15 -05:00
filifa 8aff575b4b use cobra 2024-07-14 16:43:00 -05:00
filifa d064d7bd82 print the raw json 2024-07-14 15:33:08 -05:00
filifa 88e58e0ed5 resolve url reference in get 2024-07-14 13:41:57 -05:00
filifa 91397481f0 make a diffpatchresponse type 2024-07-14 13:33:25 -05:00
filifa 500bf7baa4 move extractpatches function to api 2024-07-14 11:32:09 -05:00
filifa a8e055d094 fallback to live feed if we can't get diffpatch 2024-07-14 00:17:53 -05:00
filifa 3cd5411d12 condense early return 2024-07-14 00:15:40 -05:00
filifa 754f039200 don't repeat yourself 2024-07-14 00:07:24 -05:00
filifa 5e98696cac minor style changes 2024-07-13 23:42:48 -05:00
filifa de7e998722 eliminate else clause 2024-07-13 23:39:33 -05:00
filifa e973c51abc don't use type assertion 2024-07-13 23:17:54 -05:00