Now you have everything you need to start using the API. Your token should look something like this ( a big mess of numbers and letters – mine is 20 characters long): Your URL should look something like this ( starts with the https part, ends with 32400): ![]() Your Plex URL and token are taken from the XML page URL You can do this on your PC/laptop – you don’t have to do it on the Pi: First, log in to your Plex server using a desktop browser. You can get both the token and URL in one hit. Naturally you can’t start poking around inside someone’s server without authorisation, so we need to grab a token and server URL to prove it’s yours. That’s the library installed, nothing more to it. Then use this command to install the library (I use sudo here as it wouldn’t work quite right without it): Make sure you’re in your home directory first: I used the following commands to add the Plex API Python library to my Pi. It’s a bit of fun really, none of this information is vital to me, but it’s just another interesting thing to have on my desk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |