fias_download

command module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2022 License: BSD-3-Clause Imports: 25 Imported by: 0

README

Downloader FIAS/GAR

App for helping downloading archives with FIAS/GAR files from https://fias.nalog.ru

* App can be using with GUI mode or CLI mode

* App using configuration file, which could be create on tab 'settings' in GUI mode or you can create this file manually, for example seeing inside test files.

Available flags

Run GUI/CLI mode

-gui=true or -gui=false

Only download mode

-o=true or -o=false

Download full archive or delta archive

-full=true or -full=false

Build

go build -ldflags "-s -w -H=windowsgui"

Description of config file:
Address API             - Address fias API
Full mode               - Full  base download mode
Proxy                   - Proxy using(NOT kerberos)
Proxy IP                - Proxy ip
Format                  - Archive type (!use zip, other not worked)
Path full(press Enter)  - Folder path full base
Path delta(press Enter) - Folder path delta base
Count last              - How many delta bases want download
Regions(;)              - Use format "01;02" for num region filter
full type               - Type full base in API
delta type              - Type delta base in API

Workable config example:

{
  "Page20": "https://fias.nalog.ru/WebServices/Public/GetAllDownloadFileInfo",
  "Page21": false,
  "Page22": false,
  "Page23": "0.0.0.0",
  "Page24": ".zip",
  "Page25": "fias_gar\\full\\",
  "Page251": "GarXMLFullURL",
  "Page26": "fias_gar\\delta\\",
  "Page261": "GarXMLDeltaURL",
  "Page27": 7,
  "Page28": "01;02"
}

Screenshots:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL