Commit graph

14 commits

Author SHA1 Message Date
8e27ffd30e removed obsolete import 2020-01-08 14:40:02 +01:00
318ad17011 implemented Systems endpoint of the Systems API 2020-01-08 13:42:17 +01:00
14b9fb4965 fixed get parameter handling
Starting to learn how to do things the Python way … it’s a rocky road :)
2019-12-26 23:53:38 +01:00
8fa672ba28 systemsApi: fixed SystemNotFoundError message 2019-11-24 21:58:16 +01:00
2877d97102 fixed wonky system names
Now url ecoding system names. Fixes problems with e.g. `+`
(BD+<something>) and `[]` in system names.

fixes #1
2019-11-12 10:06:57 +01:00
db59cd39c1 fixed docstring copypasta error 2019-09-18 16:08:25 +02:00
573c6c322f fixed exceptions’ __str__() methods. python newb. 2019-09-18 13:53:24 +02:00
13d766a2b9 Fixed query(). You know, inheritance and shit. It’s a thing. 2019-09-18 13:18:16 +02:00
f95326e1f5 fixed Exception naming …
m)
2019-09-18 13:14:23 +02:00
3ba1cfc618 added the rest of the systemsApi.System methods 2019-09-18 11:01:18 +02:00
4cd572e788 changed the internal modus operandi
API endpoints now just return the raw JSON response. The way to get an
actual object will now always be through the models.
2019-09-18 10:34:04 +02:00
a283e7c97a … not all systems in the DB have id64s yet apparently … 2019-09-18 10:19:24 +02:00
66ace44a62 @classmethods and System model moved to models module
Hey, I think I have now properly understood the difference between
@classmethod and @staticmethod, and that I will probably never again
even try using the latter …
2019-09-17 13:52:49 +02:00
47c9f34a5c Initial working … thing.
Right now can only query full systems from the systems API.
2019-09-17 13:26:13 +02:00