Commit Graph

542 Commits

Author SHA1 Message Date
Mark Veidemanis 987e8545f5
Add more docstrings to Agora code 2021-12-27 21:33:49 +00:00
Mark Veidemanis 61d48b9bfe
Add more information in transactions docstrings 2021-12-27 21:28:49 +00:00
Mark Veidemanis 7c8f77df40
Add more detail in IRC docstrings 2021-12-27 21:27:41 +00:00
Mark Veidemanis 661582a97d
Add return types in transactions docstrings 2021-12-27 21:20:15 +00:00
Mark Veidemanis 5350a2e44c
Document IRC code 2021-12-27 21:19:58 +00:00
Mark Veidemanis 6339e88385
Document IRC and cleanup 2021-12-27 21:13:13 +00:00
Mark Veidemanis b880e9763f
Strip out API parts and pass through objects smarter 2021-12-27 21:12:54 +00:00
Mark Veidemanis 83090ff6a5
Move function from IRC into transactions 2021-12-27 21:04:57 +00:00
Mark Veidemanis 5d21953199
Add docstrings to transactions functions 2021-12-27 21:02:38 +00:00
Mark Veidemanis 66b138b324
Pass through objects smarter 2021-12-27 20:59:24 +00:00
Mark Veidemanis 8139845755
Poll and post trades in the channel 2021-12-27 19:30:03 +00:00
Mark Veidemanis 20b0aef97d
Format the return from AgoraDesk better 2021-12-27 19:03:01 +00:00
Mark Veidemanis ef9e958467
Be smarter about printing out information to IRC 2021-12-27 19:02:31 +00:00
Mark Veidemanis 823c495143
Pass agora through to IRC bot 2021-12-27 13:50:32 +00:00
Mark Veidemanis 3c80ead036
Handle there not being a webhook set up 2021-12-26 23:41:29 +00:00
Mark Veidemanis d0a5782449
Correct price formula 2021-12-26 23:12:02 +00:00
Mark Veidemanis 3c7a6685b4
Exit if initial token request fails for Revolut 2021-12-26 23:11:48 +00:00
Mark Veidemanis 0c9fadbdf6
Import the right JSON exception 2021-12-26 21:38:50 +00:00
Mark Veidemanis f7d686a36d
Remove newline in gitignore 2021-12-26 21:36:53 +00:00
Mark Veidemanis 37b97495da
Use AgoraDesk library instead of requests 2021-12-26 21:36:25 +00:00
Mark Veidemanis 18aecc216a
Check before setting up Revolut callback URL 2021-12-24 17:36:10 +00:00
Mark Veidemanis 480e1298cd
Correct IRC certificate file 2021-12-24 17:35:41 +00:00
Mark Veidemanis 48b1871cf8
Rename Agora trades function 2021-12-24 17:35:17 +00:00
Mark Veidemanis 7b59a28c4d
Add some API endpoints 2021-12-24 17:27:36 +00:00
Mark Veidemanis 9ba5721872
Implement Revolut refresh token retrieval 2021-12-24 17:26:54 +00:00
Mark Veidemanis ff91b0ac81
Begin implementing Agora ad calls 2021-12-24 17:26:31 +00:00
Mark Veidemanis ad1fb040c4
Simplify settings handling 2021-12-24 17:25:36 +00:00
Mark Veidemanis bb7bc6498c
Add IRC module 2021-12-24 17:24:45 +00:00
Mark Veidemanis 7f1c14d285
Remove scripts 2021-12-24 17:23:06 +00:00
Mark Veidemanis 50a777cecb
Implement more Agora functions 2021-12-24 02:23:38 +00:00
Mark Veidemanis 2601d4a2e4
Implement configuration parser 2021-12-24 02:21:58 +00:00
Mark Veidemanis 0aa1b3d58d
Add Redis functions 2021-12-24 02:20:55 +00:00
Mark Veidemanis b6fe0b433d
Handle invalid JSON in Revolut 2021-12-23 22:57:51 +00:00
Mark Veidemanis 04c20b6b69
Implement looking up transactions 2021-12-23 19:09:16 +00:00
Mark Veidemanis a584154c2f
Implement redis and store transaction data 2021-12-23 18:46:39 +00:00
Mark Veidemanis 57e5616531
Move code into classes 2021-12-23 16:59:35 +00:00
Mark Veidemanis ffd035dfbf
Switch from Flask to Klein 2021-12-23 14:46:51 +00:00
Mark Veidemanis 78a3419013
Write Flask app 2021-12-23 00:36:15 +00:00
Mark Veidemanis 0a88760cda
Add requirements 2021-12-23 00:34:25 +00:00
Mark Veidemanis a6e0ead37f
Update gitignore 2021-12-23 00:30:55 +00:00
Mark Veidemanis 25ace1d8b2
Add scripts 2021-12-23 00:29:33 +00:00
Mark Veidemanis 49d4d3e976
Add gitignore 2021-12-23 00:27:03 +00:00