sirix icon indicating copy to clipboard operation
sirix copied to clipboard

Create a Kotlin HTTP-Client

Open JohannesLichtenberger opened this issue 4 years ago • 15 comments

Similar to the Python and TypeScript Client we should provide a Kotlin Client.

JohannesLichtenberger avatar May 19 '20 06:05 JohannesLichtenberger

Can I take it up?

PARVEENSINGH avatar Aug 17 '20 08:08 PARVEENSINGH

Sure :+1:

JohannesLichtenberger avatar Aug 17 '20 09:08 JohannesLichtenberger

Thank you, I will check the code & will get back to you.

PARVEENSINGH avatar Aug 17 '20 10:08 PARVEENSINGH

Let me know if you need help. There's a Python-Client + TypeScript-Client already :+1:

And you could use Vert.x for Kotlin :)

JohannesLichtenberger avatar Aug 19 '20 14:08 JohannesLichtenberger

@PARVEENSINGH let me know if you make progress and/or like to work on it :-)

JohannesLichtenberger avatar Aug 25 '20 22:08 JohannesLichtenberger

Hiya. Can I have a crack at this, please?

DSkilton avatar Aug 15 '21 17:08 DSkilton

@DSkilton I think @JohannesLichtenberger is unavailable right now, but I would suggest you try to go ahead.

mosheduminer avatar Aug 15 '21 17:08 mosheduminer

@mosheduminer will do. @JohannesLichtenberger mentioned there is a Python and TypeScript client already, do you know where/ how I can access them

DSkilton avatar Aug 15 '21 20:08 DSkilton

@DSkilton they are in separate repositories in this (sirixdb) github org. Links: https://github.com/sirixdb/sirix-python-client https://github.com/sirixdb/sirix-typescript-client https://github.com/sirixdb/sirix-rust-client

Each of these uses a slightly different approach (for example, with regards to auth), and the python client even implements an additional "JsonStore" abstraction (which you should probably ignore for now).

EDIT: also, the python client is the only one that is documented at all (via docstrings in the code). That may be helpful.

mosheduminer avatar Aug 15 '21 20:08 mosheduminer

@mosheduminer I spent yesterday reading around IntelliJ modules and believe I correctly created a new module for the HTTP client but it made me realise I may need some tutorage. Do you have time to mentor me for this project? Could I connect with you on insta or social media so I can instant message?

DSkilton avatar Aug 17 '21 08:08 DSkilton

@DSkilton we generally use slack for communications, you can DM me there. You can find out slack in the README. you may also want to look at the docs at http://sirix.io.

Also, I can be of no help with anything Java related.

mosheduminer avatar Aug 17 '21 10:08 mosheduminer

@DSkilton I guess https://sirix.io/rest-api.html should be of some help regarding this issue. Also the https://github.com/sirixdb/sirix-python-client might be of some help :+1: I might look into the slack channel every now and then, but currently I'm in holidays until the end of next week.

JohannesLichtenberger avatar Aug 20 '21 18:08 JohannesLichtenberger

"over here" @JohannesLichtenberger :)

artwo avatar Oct 10 '22 09:10 artwo

There was actually some work done on a branch in the sirix-kotlin-client repo. You may be able to reuse it.

mosheduminer avatar Oct 12 '22 10:10 mosheduminer

Thanks for the suggestion, but I have already some progress in another branch. So I'll see what i can reuse from there.

artwo avatar Oct 12 '22 16:10 artwo