(2013-02-22, 02:52)kiler129 Wrote: I know state of this plugin but staring from scratch is very annoying, so I planned to rearrange existing code and improve it. Unfortunately I can't even run existing code which is little frustrating.
Honestly I didn't have enough time to dig into nfx api documentation. Maybe 403 is returned due to exceeded number of paired devices?
Don't think so.
Application:xbmcflicks2
Key: 9gmtqvwwpagbh7hq56shftrd
Shared Secret: UEnJ7yWQxY
Status: active
Registered: 3 weeks ago
Key Rate Limits
10 Calls per second
25,000 Calls per day
Starting from scratch isn't necessary. I've done a bunch of research and crash Python learning myself. The API pages do need a read through to understand netflix.py . I copied the latest version (2009) from github
http://code.google.com/p/pyflix/ This breaks iqueue.py in some places as the functions in netflix.py have changed.
You can use example.py to rewrite some functions in iqueue.py and play with the api output. I pretty much have recommended queue done as I was interested in that but you need to have rated some movies for stuff to show up.
Also, a lot of functions need exception wrappers so there is more feedback about what is wrong in the log and basic feedback to the user.
In the fall of 2012 they made some changes and removed the rental stuff. check
http://developer.netflix.com/ for more. This year version 2 of the api was released into preview. It's backwards compatible but who knows how long.
This page
http://kentbrewster.com/netflix-api-explorer/ can be used to explorer the no authentication required aspects of the API. you need to add ' -public' to the URL though. Use the key/secret supplied previously for iqueue.py to make it go.
There is a list of Netflix error codes in the developer area of Netflix.
http://developer.netflix.com/docs/read/H...atus_Codes
403 applies to all feeds and means 'invalid token'. ie incorrect authentication
The library used to read the server response from netflix when authenticating throws and exception when it receives a non-standard response from the server. I have seen request used elsewhere on the web which is more granular than perhaps httplib . This would fix the auth script error after the browser is closed.