Watchlists are not yet supported in the API.
Create a Watchlist
To create a new watchlist, use thecreate method and define the name
and a list of items:
Retrieve Watchlists
You can retrieve a watchlist by ID using the methodget:
id, name and metadata
such as date_created or last_updated, representing the dates when
the object was created and last updated, respectively.
And you can access the watchlist items list from the object (Items are
lazy evaluated)
list:
list method support owned parameter
When owned=True is provided only watchlists which owned by logged user
will be returned
Share Watchlists
Watchlists can be shared with everyone else in the company. Once a watchlist is shared users will gain read access. They won’t be able to modify it but they will be able to use it in their queries. To share a watchlist, use theshare_with_company method.
You can share a watchlist using the object in memory:
company_shared_permission attribute of the
watchlist object will be set to SharePermission.READ.
Unshare Watchlists
You can unshare a watchlist using the methodunshare_with_company.
Using the object in memory:
Update Watchlists
Once you define a watchlist, you can always update its name:Delete Watchlists
If you no longer need a watchlist, you can delete it using thedelete
method.
Using the object in memory: