jasl8 0 Posted December 19, 2016 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
Koleckai Silvestri 1154 Posted December 19, 2016 Posted December 19, 2016 Should look at the Github repositories... This might be of interest - https://github.com/MediaBrowser/Emby.ApiClient
jasl8 0 Posted January 13, 2017 Author 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
Luke 42077 Posted January 13, 2017 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.
jasl8 0 Posted January 13, 2017 Author 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?
Luke 42077 Posted January 13, 2017 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
Luke 42077 Posted September 9, 2017 Posted September 9, 2017 Swagger will be back for the next release and will look better than ever:
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