Add a note about API keys

This commit is contained in:
Maxim Mikityanskiy 2018-01-19 02:09:00 +02:00
commit 1224c24b78

View file

@ -23,6 +23,11 @@ Telethon can be installed with pip:
...or possibly from your distribution repositories.
Then you need to register your Telegram application on the [Telegram website](https://my.telegram.org/apps). After you have acquired `api_id` and `api_hash`, put them into `settings/keys.py` like this:
API_ID = 123456
API_HASH = '1234567890abcdef1234567890abcdef'
To begin tracking someone, start the script like this (the current working directory needs to be this repository root):
$ python3 -m track '+380991234567'