Repository files navigation Archivist: Application for archiving API responses based on the Textual framework
A simple application that uses RestAPI to access servers at regular intervals. The received data is written or added to json/csv/html files.
For all Python-enabled operating systems
Clone repo.
In workdir: pip install -r requirements.txt
in console run: python ./src/app.py
The Windows executable file is located in the dist folder in the *.zip archive
To deploy a service using Docker, there are Dockerfile and docker-compose.yaml files in the working directory.
name: task name
comment: task comment
request_method: HTTP-method, GET or POST
request_url: server url
request_headers: request header (for POST requests)
request_body: request body (for POST requests)
file_format: the file format for writing data (json or csv or html)
interval: time interval (1min/5min/10min/30min/60min/1day)
file_save_mode: data recording mode (rewrite or append)
json_key: if specified, only the key values are saved
status: task status (filled in by the application itself)
data_folder: Folder for writing data files. By default, writing goes to the current folder in the data directory (if the value is ".")
This project is licensed under the GPL-3.0 License.
About
TUI Application for archiving API responses
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.