C# SDK
jchannon opened this issue · 12 comments
Hi,
Apologies that this is not python related but I've written a C# SDK if you are interested in taking ownership of it? It has most of the functionality and a sample app to demonstrate it's use. I saw you had R, Python & Javascript and wondered if you'd want a C# one too?
Here's the repo if you'd like it - https://github.com/jchannon/coronavirus-dashboard-api-net-sdk
Thanks!
@jchannon Thank you for the offer, we are very grateful. We will be more than happy to take ownership and maintain the service.
Would you rather transfer the ownership to PHE via GitHub, or shall I create fork and redeploy the code to our repository? I would like to ensure that your contribution is recorded in the history of the project, and I will ensure that you are adequately acknowledged in any documentation.
Update:
I just shared your offer with a few members of our team, and you got a big "WOW" from every one of them... So, once again, thank you.
@jchannon I'm afraid I can't make you a member of the organisation because of the private repositories that we have. It needs authorisation from a whole lot of people - I'm sure you can imagine.
You could transfer it to me, and I will then transfer it to PHE. That's probably the easiest way to do it.
@jchannon it's all done: https://github.com/publichealthengland/coronavirus-dashboard-api-net-sdk
It's absolutely amazing... you have even followed my design pattern which I have used across all SDKs.
All I need to do now is to create some examples for the SDK and it's ready to be added to our pool.
Once again, thank you for your contribution.
So the way I have been doing it for Python and JS is that I created a GitHub Actions script which runs a bunch of UnitTests and if successful, deploys the package onto its respective package manager (PyPI or NPM).
Of course releasing packages on CRAN for R is a whole different story... one which I have been writing since Friday last week, and it's still going on.
I think releasing the library on Nuget is a great idea. I haven't used C# in years - although I did write the API Manager's policies for the Coronavirus API in C#, mainly because I didn't have a choice! So any help on packing, writing the CI, etc is greatly appreciated... not that you haven't done enough so far.
I'll start working on the README file in the meantime.
F# reminds me Haskell for some reason... I used to work with VB6 back in 98-99, then VB.net, then C#, then just gave up on them all.
Anyhow, I have already created a PHE organisational account on Nuget. The API key is in GitHub secrets under NUGET_PUBLISH_KEY
.
Re the package name, we usually use a variation of uk-covid19
or uk_covid19
as package names for SDKs on their respective package managers.
Thanks Johnathan. Really appreciate your help.