Skip to content

Getting Started

Installation

If you use pip, just type

$ pip install aiomailru

You can install from the source code like

$ git clone https://github.com/konstantintogoi/aiomailru.git
$ cd aiomailru
$ python setup.py install

Account

Sign up in Mail.Ru.

Application

After signing up visit Mail.Ru API documentation page and create a new application: https://api.mail.ru/apps/my/add.

Save client_id (aka app_id), private_key and secret_key for user authorization and executing API requests.

app_id = 'your_client_id'
private_key = 'your_private_key'
secret_key = 'your_secret_key'