intrinio-jcarr/institutional.py

17 lines
455 B
Python
Executable File

#!/usr/bin/python3
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('OjZjZGIzZmYyNDg4NDZjYjQ4NzAzMzAyZjg0OTU5MDcz')
intrinio.ApiClient().allow_retries(True)
institutional = ''
page_size = 1000
next_page = ''
response = intrinio.OwnersApi().get_all_owners(institutional=institutional, page_size=page_size, next_page=next_page)
print(response)