From 1224c24b780e2b42c864eb8aeb1afb43e6447dc7 Mon Sep 17 00:00:00 2001 From: Maxim Mikityanskiy Date: Fri, 19 Jan 2018 02:09:00 +0200 Subject: [PATCH] Add a note about API keys --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9a09590..701e015 100644 --- a/README.md +++ b/README.md @@ -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'