Django server and client communications

40 views
Skip to first unread message

Richard Maceček

unread,
Mar 4, 2018, 2:58:35 PM3/4/18
to Django users
Hello, I need help with client and server communications. Web Application - Djang Server Side. The client is written in python, it's actually a KODI add-on.

They need to deal with:
 1. client authorization,
 2. communications,
 3. data transfer.

I need to send the data I receive from the client to the server.

What would I use? I was thinking about JSON (websocket) or XML. Or Django-rest-framework? Another idea?

Thank you Best regards
M.R

Avraham Serour

unread,
Mar 4, 2018, 3:37:54 PM3/4/18
to django-users
I suggest using DRF, It can autogenerate the schema which can be useful.

It seems they also have a client to consume that, worth taking a look

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/61ee09a1-ae0e-4415-9180-9702020e73ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Richard Maceček

unread,
Mar 5, 2018, 3:02:50 PM3/5/18
to Django users

Thank you, great, I'll look. I mainly solve the authorization of the client (devices) with the input of 8 numeric code (letters - abc and numeric).
This service alike  track.tv has it solved.

Dne neděle 4. března 2018 21:37:54 UTC+1 Avraham Serour napsal(a):
I suggest using DRF, It can autogenerate the schema which can be useful.

It seems they also have a client to consume that, worth taking a look
On 4 Mar 2018 21:58, "Richard Maceček" <macecek...@gmail.com> wrote:
Hello, I need help with client and server communications. Web Application - Djang Server Side. The client is written in python, it's actually a KODI add-on.

They need to deal with:
 1. client authorization,
 2. communications,
 3. data transfer.

I need to send the data I receive from the client to the server.

What would I use? I was thinking about JSON (websocket) or XML. Or Django-rest-framework? Another idea?

Thank you Best regards
M.R

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages