Skip to content
Snippets Groups Projects
Commit 4f1b2db0 authored by Millian Poquet's avatar Millian Poquet
Browse files

doc: ut3 authentication

parent 8ff71e93
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ This project tries to make CELCAT usable by: ...@@ -12,7 +12,7 @@ This project tries to make CELCAT usable by:
### Usage ### Usage
``` ```
Usage: fetch-celcat [OPTIONS] COURSE_REQUEST_FILE Usage: fetch-celcat [OPTIONS] COURSE_REQUEST_FILE CREDENTIALS_FILE
Options: Options:
--json, --json-raw TEXT If set, raw CELCAT events are written as JSON to this file. --json, --json-raw TEXT If set, raw CELCAT events are written as JSON to this file.
...@@ -23,7 +23,7 @@ Options: ...@@ -23,7 +23,7 @@ Options:
--help Show this message and exit. --help Show this message and exit.
``` ```
The course request input file defines which courses you are interested in. **The course request input file** defines which courses you are interested in.
For example, if you give the following courses: For example, if you give the following courses:
- BAS (apogee code KINXIB11) - BAS (apogee code KINXIB11)
...@@ -41,6 +41,15 @@ KINXIB11,BAS,2022-09-05 00:00:00,2022-10-21 23:59:00,TP,INXIB11A42,3 ...@@ -41,6 +41,15 @@ KINXIB11,BAS,2022-09-05 00:00:00,2022-10-21 23:59:00,TP,INXIB11A42,3
KINXIB21,SR1,2022-09-05 00:00:00,2022-10-21 23:59:00,TP,INXIB21A42,5 KINXIB21,SR1,2022-09-05 00:00:00,2022-10-21 23:59:00,TP,INXIB21A42,5
``` ```
**The credentials input file** is a JSON file that contains your UT3 credential information, for example:
```json
{
"username": "YOUR_UT3_USERNAME",
"password": "YOUR_UT3_PASSWORD"
}
```
### Use this script with caution ### Use this script with caution
The only life jacket of this script is that it prints a warning if the number of fetched events is not the expected one for each course request. The only life jacket of this script is that it prints a warning if the number of fetched events is not the expected one for each course request.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment