# how to talk to PMS

**URL:** <https://forums.plex.tv/t/how-to-talk-to-pms/9437>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [May 26, 2011, 9:48am UTC](https://forums.plex.tv/t/how-to-talk-to-pms/9437 "2011-05-26T09:48:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![me2621a](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@me2621a](https://forums.plex.tv/u/me2621a)\
**Post date:** [May 26, 2011, 9:48am UTC](https://forums.plex.tv/t/how-to-talk-to-pms/9437/1 "2011-05-26T09:48:22Z")

</div>

Hi guys,  
  
so i was thinking about messing around with developing a client for plex. One thing i was not able to find was any documentation on how to comunicate with pms, how to you fetch libraries, metadata, tell it how to encode/if it needs to encode. If i am just missing something a point out would be great or if someone found and example and could point it out that would be great to. Thanks guys.

---

<div class="post-metadata">

**Author:** ![hippojay](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hippojay/32/41_2.png) [@hippojay](https://forums.plex.tv/u/hippojay)\
**Post date:** [June 1, 2011, 11:44pm UTC](https://forums.plex.tv/t/how-to-talk-to-pms/9437/2 "2011-06-01T23:44:38Z")

</div>

I don’t think there is any documentation for it!  
  
  
  
Basically, it’s just a load of XML pages served out from a web server.   
  
  
  
You are best starting out here:  
  
  
  
http://{server ip}:32400/library/sections   
  
  
  
This will give you a list of all sections. Then use the ‘key’ field to traverse up/down into a section, then into the media and then to find the file/stream locations.  
  
  
  
Have a look around, familiarise yourself withe the structure and the rest should become easy to understand. I’ve spent a lot of time looking at these XML pages whilst building my client, so Feel free to ask any questions and I’ll see if I can help.

---

<div class="post-metadata">

**Author:** ![me2621a](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@me2621a](https://forums.plex.tv/u/me2621a)\
**Post date:** [June 9, 2011, 5:35am UTC](https://forums.plex.tv/t/how-to-talk-to-pms/9437/3 "2011-06-09T05:35:10Z")

</div>

> [@](#):
>
> I don't think there is any documentation for it!  
>   
> Basically, it's just a load of XML pages served out from a web server.   
>   
> You are best starting out here:  
>   
> [http://{server](http://{server) ip}:32400/library/sections   
>   
> This will give you a list of all sections. Then use the 'key' field to traverse up/down into a section, then into the media and then to find the file/stream locations.  
>   
> Have a look around, familiarise yourself withe the structure and the rest should become easy to understand. I've spent a lot of time looking at these XML pages whilst building my client, so Feel free to ask any questions and I'll see if I can help.

  
  
thanks i will do that

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 9:09pm UTC](https://forums.plex.tv/t/how-to-talk-to-pms/9437/4 "2019-12-20T21:09:00Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
