question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extended Info in watchlists

See original GitHub issue

Hey,

I can’t seem to find a way to get extended information from Trakt['sync/watchlist'].movies(extended='full'). On Trakt.tv’s API ‘Get watchlist’ is said to have the extended info option.

http://docs.trakt.apiary.io/reference/sync/get-watchlist/get-watchlist

~It also states that you can have the API sort the items for you, then send them to you, but I can’t seem find the way to do that in trakt.py. It appears the API doesn’t handle that (tried testing using Apiary) Posted in the Trakt API G+ community~ Sorting for watchlist isn’t an option, I misread the API docs, see https://plus.google.com/u/0/106638395660757564216/posts/THrT7croDVQ

Am I missing something here, or is it just not implemented?

Traceback (most recent call last):
  File "C:\Project\.venv\lib\site-packages\tornado\web.py", line 1509, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "main.py", line 102, in get
    return dispatcher()
  File "main.py", line 125, in watchlist
    watchlist = TraktAPI.get_movies_watchlist()
  File "C:\Project\trakt_api.py", line 57, in get_movies_watchlist
    watchlist = Trakt['sync/watchlist'].movies(extended='full', pagination=True, per_page=100)
  File "C:\Project\.venv\lib\site-packages\trakt\interfaces\base\__init__.py", line 22, in wrap
    return func(*args, **kwargs)
  File "C:\Project\.venv\lib\site-packages\trakt\interfaces\sync\core\mixins.py", line 61, in movies
    **kwargs
  File "C:\Project\.venv\lib\site-packages\trakt\interfaces\sync\watchlist.py", line 26, in get
    **kwargs
  File "C:\Project\.venv\lib\site-packages\trakt\interfaces\base\__init__.py", line 22, in wrap
    return func(*args, **kwargs)
  File "C:\Project\.venv\lib\site-packages\trakt\interfaces\sync\core\mixins.py", line 32, in get
    items = self.get_data(response, **kwargs)
TypeError: get_data() got an unexpected keyword argument 'extended'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
fuzemancommented, Oct 26, 2018

Released in v3.0.0

2reactions
fuzemancommented, Oct 22, 2018

@emouawad I’ll include this in the next release (this week).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Use Watchlists On TradingView - YouTube
In this video we are covering how to use the Watchlist feature on ... I have taken steps to ensure that the information...
Read more >
Watchlists reference - Code42 Support
Identifies the risk indicator and point value that is added to the file events of any user on this watchlist. For more information...
Read more >
Building An Effective Watchlist - Investopedia
An effective watchlist of stocks will uncover opportunities missed by other traders, fund managers, and market timers.
Read more >
Extended Threat Hunting: Using a Watchlist
This article walks you through creating a watchlist, an associated rule definition, and threat hunt based on the rule.
Read more >
Watchlists - Incredible Charts
Click to create a new watchlist with all the securities on the stock screen list. Scan for Breakouts. Find stocks that are breaking...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found