HawkXP71 116 Posted 1 hour ago Posted 1 hour ago I notice and I am not surprised that there are no C++ examples for the Rest API. I have a number of C++ using Qt libraries, that I would be willing to donate to the cause. If there were scripts that generated the current sample, I would be willing to take the time to modify the script to generate the C++ w/Qt examples Thoughts?
softworkz 5351 Posted 54 minutes ago Posted 54 minutes ago The Emby REST API is self-describing following the OpenAPI standard. You can get the OpenAPI JSON definition either from the SDKs: https://github.com/MediaBrowser/Emby.SDK/tree/master/Resources/OpenApi (download the beta SDK for the latest API versions) or from your own running server (in this case, it includes plugin APIs): see here: https://dev.emby.media/doc/restapi/index.html There are countless code generators available which generate API code from OpenAPI specifications. We don't provide any C++ ApiClient code, because - for once - the tooling we use doesn't have a generator for C++ and secondly, I think that in case of C++ (or plain C), there are just too many ways for implementing such ApiClient and there's not one-fits-all solution - even more, it's rather unlikely that - whatever we would produce - would be largely suitable and universal enough that it would be useful for many people. That's where OpenAPI comes into play: that way, you have endless choices for a code generator that will fit your needs.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now