2015-03-27 19:58:35 +00:00
|
|
|
# How to create dictionaries for region* functions:
|
|
|
|
# 1. You need access to host ███████████.yandex-team.ru.
|
|
|
|
# 2. Do the following commands:
|
|
|
|
|
|
|
|
curl 'http://███████████.yandex-team.ru/?fields=id,parent_id,type,population' | tail -n+2 > regions_hierarchy.txt
|
|
|
|
curl 'http://███████████.yandex-team.ru/?fields=id,parent_id,type,population&new_parents=977:187' | tail -n+2 > regions_hierarchy_ua.txt
|
|
|
|
curl 'http://███████████.yandex-team.ru/?fields=id,ru_name' | tail -n+2 > regions_names_ru.txt
|
2015-04-21 20:44:46 +00:00
|
|
|
curl 'http://███████████.yandex-team.ru/?fields=id,en_name' | tail -n+2 > regions_names_en.txt
|
2015-03-27 19:58:35 +00:00
|
|
|
curl 'http://███████████.yandex-team.ru/?fields=id,uk_name' | tail -n+2 > regions_names_ua.txt
|
|
|
|
curl 'http://███████████.yandex-team.ru/?fields=id,by_name' | tail -n+2 > regions_names_by.txt
|
|
|
|
curl 'http://███████████.yandex-team.ru/?fields=id,kz_name' | tail -n+2 > regions_names_kz.txt
|
|
|
|
curl 'http://███████████.yandex-team.ru/?fields=id,tr_name' | tail -n+2 > regions_names_tr.txt
|