trumee 0 Posted March 16, 2020 Posted March 16, 2020 Hello @@chef, Is there a sample python code to list all movies in the database? Thanks
chef 3808 Posted March 16, 2020 Posted March 16, 2020 I'm not well versed in Python, however there is a workflow you must follow inorder to get the list. 1. Authenticate a user to get an access token 2. Request "/Items" with an InternalItemQuery that has a 'type' of "Movie" This will return all movie BaseItem objects in json format. Please let me know if I can follow up with some code examples. In particular you may have questions about request headers needed to pass the Authentication token.
TeamB 2414 Posted March 16, 2020 Posted March 16, 2020 There are some simple examples here https://github.com/faush01/EmbyToolbox/tree/master/WatchedStatusBackup
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