1wloc(1) General Commands Manual wloc(1)
2
3
4
6 wloc - command-line Wi-Fi geolocation tool
7
9 wloc [-h] [–google] [–mozilla] [–yandex]
10
12 WLoc is a simple command-line Wi-Fi geolocation tool, which can be used
13 to locate user by using global Wi-Fi database (no GPS required).
14
16 -g, --google
17 Use the Google Geolocation API.
18
19 -m, --mozilla
20 Use the Mozilla Geolocation API.
21
22 -y, --yandex
23 Use the Yandex.Locator API.
24
25 -h, --help
26 Print help message and exit.
27
29 WLoc supports of getting API tokens for the third-party geolocation
30 backends with environment variables.
31
32 Supported options
33 In order to use this application, you need to forward at least one API
34 token:
35
36 • APIKEY_GOOGLE - Google Geolocation.
37
38 • APIKEY_MOZILLA - Mozilla Geolocation.
39
40 • APIKEY_YANDEX - Yandex.Locator.
41
42 Forwarding options
43 Export environment variables using export command:
44
45 export APIKEY_GOOGLE=ABCDEFG123
46 export APIKEY_MOZILLA=ABCDEFG123
47 export APIKEY_YANDEX=ABCDEFG123
48
49 Start the application with all available backends:
50
51 wloc -g -m -y
52
54 Supported backends
55 This application can use the following third-party geolocation
56 providers:
57
58 • Google Geolocation;
59
60 • Mozilla Geolocation;
61
62 • Yandex.Locator.
63
64 API tokens
65 You can obtain API tokens from these sources:
66
67 • Google: https://developers.google.com/maps/documentation/geoloca‐
68 tion/get-api-key
69
70 • Mozilla: https://ichnaea.readthedocs.io/en/latest/api/index.html
71
72 • Yandex: https://yandex.ru/dev/locator/doc/dg/api/geolocation-api.html
73
75 Copyright (c) 2015-2022 EasyCoding Team.
76
77
78
79 wloc(1)