43aaddedaa
removed lru_cache, made get_all_invoices_for_org_name faster, started revising readme
Zev Averbach2022-04-23 18:25:31 +02:00
0dc6e84727
added support for db_num when using the redis token store
Zev Averbach2022-04-23 18:02:40 +02:00
d8b5b01bcc
small fixes, updated type hints in api
Zev Averbach2022-04-23 15:46:18 +02:00
5b0c70024a
further simplified constructors, renamed parent class of token stores, made it an official ABC, updated README
Zev Averbach2022-04-23 15:38:51 +02:00
441c7c6c57
separate token instances from token clients
Zev Averbach2022-04-23 15:17:58 +02:00
4859c43b2a
remove constructor from base class so it can receive the token attributes, fix up child classes to be a bit clearer
Zev Averbach2022-04-23 15:14:45 +02:00
4f8221fb0b
token store can be injected when instantiating ApiClient. there's a disk-based and redis-based one out of the box
Zev Averbach2022-04-23 14:39:03 +02:00
fe565a593d
moved everything into api.py module, imported ApiClient into __init__.py. changed the path of the oauth-containing json file to current working directory, removed references to python-dotenv which has already been removed as a dependency
Zev Averbach2022-04-21 12:16:45 +02:00