Commit graph

9 commits

Author SHA1 Message Date
Félix Baylac-Jacqué
ac61343ad4
backend: logging Axione messages
We log the Axione API requests and responses to improve the debugging
experience. We probably should put that behind a config flag at some point.
2022-02-18 19:09:29 +01:00
Johan Le Baut
68434bf446 handle axione erreur 2022-02-13 12:12:58 +01:00
Johan Le Baut
fde1a65d6a fix axione api: return result 2022-02-12 23:39:40 +01:00
Johan Le Baut
7672a52239 cancel promise on keyup 2022-02-12 20:04:05 +01:00
Félix Baylac-Jacqué
01c8f2b37b Fantoir: implement actual Axione fantoir request
Kind of untested :/
2022-02-12 18:37:18 +01:00
Johan Le Baut
6e2899a91b Endpoints to find a Fantoir address 2021-11-02 15:21:34 +01:00
Félix Baylac-Jacqué
53af975601
Pep-8 reformat
I did not really used a standard python format so far. Running the
codebase through black to make everything pep-8 compliant.
2021-10-17 22:31:06 +02:00
Félix Baylac-Jacqué
8c4c540fb8
Add response parser
This parser is not extensively tested yet. We need to generate more
test cases to make sure we're not falling in any of the numerous
Python traps.

We basically retrieve the data for:

- The FTTH lines.
- The stairs reference for each line.
- The building reference/status for each stairs.
2021-10-17 22:30:42 +02:00
Félix Baylac-Jacqué
cfae863043
init 2021-10-17 18:28:51 +02:00