filifa
|
7526a60c0e
|
get rid of internal
|
2025-04-06 01:18:31 -04:00 |
|
filifa
|
0c4f307d29
|
add comments
|
2025-04-06 01:12:36 -04:00 |
|
filifa
|
abdfd503fd
|
clean out internal some more
|
2025-04-06 01:07:57 -04:00 |
|
filifa
|
481ae64cc1
|
commit api subpackage
|
2025-04-06 00:55:01 -04:00 |
|
filifa
|
4bec2914fa
|
continue reorg
|
2025-04-06 00:45:24 -04:00 |
|
filifa
|
137400f3fb
|
start reorg
|
2025-04-05 22:43:26 -04:00 |
|
filifa
|
d4297bd7b1
|
add comments
|
2024-08-08 21:55:14 -05:00 |
|
filifa
|
24f1c31362
|
add comment
|
2024-08-01 22:37:33 -05:00 |
|
filifa
|
610dd6898d
|
simplify feed struct and move out of statsapi package
|
2024-08-01 22:35:12 -05:00 |
|
filifa
|
866ba4055d
|
rename flag types
|
2024-07-29 00:30:32 -05:00 |
|
filifa
|
b97e95827c
|
refactor flag set methods
|
2024-07-28 23:52:05 -05:00 |
|
filifa
|
adc8177a9b
|
move flag error functions to common
|
2024-07-28 23:21:07 -05:00 |
|
filifa
|
e8d8805cd2
|
don't print flag name again
|
2024-07-28 23:18:21 -05:00 |
|
filifa
|
b04d5d3a24
|
remove unneeded ifs
|
2024-07-28 23:14:52 -05:00 |
|
filifa
|
b856ae50fb
|
factor flag error handling into function
|
2024-07-28 23:10:50 -05:00 |
|
filifa
|
68b3268054
|
simplify setting teamId
|
2024-07-28 22:47:11 -05:00 |
|
filifa
|
e1e0225612
|
set default sport differently
|
2024-07-28 22:41:45 -05:00 |
|
filifa
|
095cd4a0b4
|
change wording
|
2024-07-28 22:27:05 -05:00 |
|
filifa
|
f2fab5a904
|
sort valid flags
|
2024-07-28 22:13:33 -05:00 |
|
filifa
|
8ee2ff3467
|
make sportflag type
|
2024-07-28 22:07:28 -05:00 |
|
filifa
|
05353ccec4
|
add example usage
|
2024-07-28 21:47:42 -05:00 |
|
filifa
|
3eb0271f39
|
add standings to list
|
2024-07-28 21:47:36 -05:00 |
|
filifa
|
75f0d7652e
|
make help text consistent
|
2024-07-28 21:34:11 -05:00 |
|
filifa
|
fc298fd72a
|
remove old files
|
2024-07-28 21:10:46 -05:00 |
|
filifa
|
36fcbe4a76
|
display valid flag values on error
|
2024-07-28 19:49:10 -05:00 |
|
filifa
|
045d3dece7
|
move flag maps
|
2024-07-28 19:26:53 -05:00 |
|
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 |
|
filifa
|
1fe8fbf827
|
fix capitalization
|
2024-07-13 23:11:02 -05:00 |
|
filifa
|
4cd03052ed
|
add error clause
|
2024-07-13 23:09:53 -05:00 |
|
filifa
|
79d1bb2ea5
|
remove feedparams
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
6d5b7b5971
|
remove patch.go
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
7d29b22e88
|
move feed update to separate function
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
0f32f74431
|
apply all the patches
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
7347357aab
|
cleanup and bug fixes
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
516ad5f467
|
change names
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
0a09ed2091
|
remove my patch stuff
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
3a0a83e32e
|
refactor diffpatch handling
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
a7a53614cc
|
incorporate jsonpatch package
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
5b3d257df4
|
rewrite into get and set functions
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
20a0b66e5b
|
return error from patch method
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
bf7b45bcc6
|
remove case
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
a17786e98c
|
change logging
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
1e5a532bfd
|
update timestamp
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
fdc71057eb
|
add a todo
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
1b133fa865
|
more debugging/logging
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
8c8f2b4f8f
|
change logging
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
8b8ab675bd
|
rewrite expand
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
8d509bf71a
|
loop
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
d48113fb00
|
Revert "simply write new feeds for analysis/debugging"
This reverts commit 52705ebfc0bd14a2730a79ac80c614ee6700ac5e.
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
90ba6e6066
|
rewrite expand function
|
2024-07-13 18:34:30 -05:00 |
|
filifa
|
babc02905d
|
refactor patch function
|
2024-07-13 18:34:30 -05:00 |
|