Commit Graph

26 Commits

Author SHA1 Message Date
jo 6ab407a23a feat(api-client): rewrite api-client v1 using abstract client 2023-03-22 12:13:59 +00:00
jo 98aaa4214a feat(api-client): remove unused api v1 calls 2023-03-22 12:13:59 +00:00
jo ad00272168 refactor(api-client): allow custom retry strategy 2023-03-22 12:13:59 +00:00
jo a60d83311b feat: add python packages version 2023-03-14 14:59:45 +00:00
jo 861698987c refactor: don't use f-string on logging statements
The strings are now be formatted if the logging level is enabled.
2023-02-26 19:09:51 +02:00
jo c6940db289 feat: replace loguru with logging 2023-02-26 19:09:51 +02:00
jo 12d2d4b15a feat(api): add /info and /stream/* endpoints 2022-09-06 13:21:54 +02:00
Jonas L 1147853c63
feat(shared): pass config data via init (#2042) 2022-08-12 15:12:39 +02:00
jo ccbf4fb020 chore(api-client): mark package as typed 2022-08-09 21:08:29 +02:00
jo 5782e10250 refactorapi-client): fix linting errors 2022-08-09 20:27:02 +02:00
jo 313898137c refactor(api-client): improve exception handling 2022-08-09 20:27:02 +02:00
jo d1faa4bf3d chore(api-client): cleanup comments 2022-08-09 20:27:02 +02:00
jo cefcd8ac12 chore(api-client): remove unused v1 api endpoints 2022-08-09 20:27:02 +02:00
jo e2e03dba4a fix(api-client): remove unused v1 methods 2022-08-09 20:27:02 +02:00
jo 7bf3a3f085 style: format python imports 2022-07-27 18:11:34 +02:00
Jonas L 6f0ab7d8f2
fix(api-client): fix base_url joining for client v2 (#1998) 2022-07-26 17:57:14 +02:00
jo d4110020c0 chore(api-client): config is only used by v1 2022-07-26 15:14:45 +02:00
jo cf9b08906b feat(api-client): rewrite api-client v2 2022-07-26 15:14:45 +02:00
jo 473e770e8a feat: rename AirtimeApiClient to ApiClient 2022-07-22 15:00:38 +02:00
jo 6f2724dad1 fix(api-client): get status_code from response 2022-07-22 15:00:38 +02:00
jo 8369d55eb9 chore(api-client): restructure modules 2022-07-22 15:00:38 +02:00
jo 1faf5a724b chore: move api client get_schedule to playout 2022-06-24 17:56:24 +02:00
jo 3ce60d4881 chore: move api-client datetime utils to shared 2022-06-24 17:56:24 +02:00
jo aed6d2f294 feat: change config dir path to /etc/libretime
BREAKING: The configuration directory changed from `/etc/airtime` to
`/etc/libretime`. Please rename your configuration directory accordingly.
2022-06-08 23:23:08 +02:00
jo 604ff20239 feat: change config filename to config.yml
BREAKING: The configuration file name changed from `airtime.conf` to
`config.yml`. Please rename your configuration file accordingly.
2022-06-08 23:23:08 +02:00
Jonas L fef38fb131
chore: rename api_client to api-client (#1727) 2022-04-04 10:25:38 +02:00