Jump to content

How to start with Emby API?


jasl8

Recommended Posts

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

  • 4 weeks later...

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

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

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

  • 7 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...