jasl8 0 Posted December 19, 2016 Share Posted December 19, 2016 Hi! I am developing a new UWP app for smárt homes that will use Emby as the main media module. Where can I find resources with sample UWP app code and Wiki or docs on how to start? Thanks, Laszlo Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted December 19, 2016 Share Posted December 19, 2016 Should look at the Github repositories... This might be of interest - https://github.com/MediaBrowser/Emby.ApiClient Link to comment Share on other sites More sharing options...
jasl8 0 Posted December 19, 2016 Author Share Posted December 19, 2016 I will have a look, thanks! Link to comment Share on other sites More sharing options...
jasl8 0 Posted January 13, 2017 Author Share Posted January 13, 2017 Hi! So I need help with connecting to the API, this doesn't seem to work.. any idea? The sample code is too "general" and I didn't found the API doc either. I don't even know how to implement the Logger interface, because I didn't find any doc. var client = new ApiClient(null, "http://localhost:8096","EmbyTestClient", null); Any sample code? Thanks, Laszlo Link to comment Share on other sites More sharing options...
Luke 37118 Posted January 13, 2017 Share Posted January 13, 2017 You can find api docs here: https://github.com/MediaBrowser/Emby/wiki What you probably want to do is look at the available methods on ApiClient that you can call against an Emby Server. The C# ApiClient does not have the complete set of methods but it has a fair portion of them. Link to comment Share on other sites More sharing options...
jasl8 0 Posted January 13, 2017 Author Share Posted January 13, 2017 Thanks for the quick answer. Now I find that the built in swagger link doesn't work, the server returns with this line on a white page: "Oneor more errors occurred." I installed the default server on localhost:8096. Can you confirm it works on your machine or I might be bumping into a bug in latest build? Link to comment Share on other sites More sharing options...
Luke 37118 Posted January 13, 2017 Share Posted January 13, 2017 No, swagger is currently out of commission in the latest release. It will be restored in a future update. The easiest way to view available methods is just to check out the js api library. It has most of the api and is easy to read: https://github.com/MediaBrowser/Emby.ApiClient.Javascript/blob/master/apiclient.js Link to comment Share on other sites More sharing options...
Luke 37118 Posted September 9, 2017 Share Posted September 9, 2017 Swagger will be back for the next release and will look better than ever: Link to comment Share on other sites More sharing options...
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