Skip to content

Commit 111b405

Browse files
committed
Add initial application script and update configuration paths
1 parent 2b81db3 commit 111b405

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ __pycache__/
33
*$py.class
44
ldlib_mrn/
55
note.txt
6-
lseg-data.devrel.config.json
6+
src/lseg-data.devrel.config.json

src/app.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# |-----------------------------------------------------------------------------
2+
# | This source code is provided under the Apache 2.0 license --
3+
# | and is provided AS IS with no warranty or guarantee of fit for purpose. --
4+
# | See the project's LICENSE.md for details. --
5+
# | Copyright LSEG 2025. All rights reserved. --
6+
# |-----------------------------------------------------------------------------
7+
8+
9+
#!/usr/bin/env python
10+
import os
11+
import lseg.data as ld
12+
from lseg.data import session
13+
import datetime
14+
import json
15+
import base64
16+
import zlib
17+
18+
19+
ld.open_session(config_name='./lseg-data.devrel.config.json')
20+
21+
ld.close_session()
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"ldp": {
1818
"app-key": "YOUR APP KEY GOES HERE!",
1919
"username": "YOUR LDP LOGIN OR MACHINE GOES HERE!",
20-
"password": "YOUR LDP PASSWORD GOES HERE!"
20+
"password": "YOUR LDP PASSWORD GOES HERE!",
21+
"signon_control":true
2122
}
2223
}
2324
}

0 commit comments

Comments
 (0)