adfinis / timed-client

Python client and commandline interface for Timed
1 stars 1 forks source link

Use of json api client library #1

Open sliverc opened 7 years ago

sliverc commented 7 years ago

Instead of writing a json api client I think it would be more convenient to use a jsonapi client library.

https://github.com/qvantel/jsonapi-client looks fairly promising or maybe also https://github.com/socialwifi/jsonapi-requests/

rhizoome commented 7 years ago

IMO json is simple enough, we should avoid dependencies.

hairmare commented 7 years ago

Using a json api does does seem to make sense, plain json is simple, json-api has some additional rules/sugar that do make sense to be wrapped in something higher-level-ish.

sliverc commented 7 years ago

just to clarify the standard we use is not just simple json but http://jsonapi.org/

rhizoome commented 7 years ago

Ok, got it. So my dependency paranoia is reduced to: are these libraries well maintained?

sliverc commented 7 years ago

Both libraries are fairly young (less than 1 year) but had regular releases and 2-3 contributors. I also think once the standard is implemented in such libraries changes will be down to bugfixes so not that critical.