{"library":"lseg-data","title":"LSEG Data Platform Python Client","description":"A Python client library for accessing the London Stock Exchange Group (LSEG) Data Platform APIs, including real-time and historical data. Current version: 2.1.1. Released under the Apache-2.0 license with regular updates.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install lseg-data"],"cli":null},"imports":["from lseg.data import LsegData","from lseg.data.auth import Credentials"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom lseg.data import LsegData\nfrom lseg.data.auth import Credentials\n\ncreds = Credentials(app_key=os.environ.get('LSEG_APP_KEY', ''))\nclient = LsegData(credentials=creds)\ndf = client.get_history(\n    instruments=['IBM.N'],\n    fields=['TR.PriceClose'],\n    start_date='2025-01-01',\n    end_date='2025-01-31'\n)\nprint(df.head())","lang":"python","description":"Initialize LSEG Data client with app key and fetch historical prices.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}