Jump to content

How to start with Emby API?


Recommended Posts

Posted

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

  • 4 weeks later...
Posted

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

Posted

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.

Posted

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?

  • 7 months later...
Posted

Swagger will be back for the next release and will look better than ever:

 

59b0c60cc1e30_Untitled.png

 

59b35afcb8e16_Untitled.png

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...