Skip to main content

kopeechka

kopeechka - This module is a representation of the kopeechka.store API in Python

API documentation RUS https://links.kopeechka.store/postapi

API documentation ENG https://links.kopeechka.store/postapieng

Installation

Install the current version with PyPI:

pip install kopeechka

Usage

You can get a token in your personal account on the kopeechka.store website

body = Mail_activations(token="TOKEN")

Example

from kopeechka import Mail_activations

body = Mail_activations(token="TOKEN")

answer = body.balance() #Balance Request
print(answer) 

answer = body.mailbox_get_email("site", "mail_type", "sender", "regex", "soft_id", "investor", "subject", "clear", "api") #Mail Request
print(answer)

answer = body.mailbox_get_message("full", "task_id", "api") #Letter Request
print(answer)

answer = body.mailbox_cancel("task_id", "api") #Cancel Mail
print(answer)

answer = body.mailbox_reorder("site", "email", "regex", "subject", "api") #Re-activation request with this mail
print(answer)

answer = body.mailbox_get_fresh_id("site", "email", "api") #Find out the activation ID by mail and website
print(answer)

answer = body.mailbox_set_comment("task_id", "comment", "api") #Set a comment to the ordered mail
print(answer)

answer = body.mailbox_get_bulk("count", "text", "email", "site", "api") #Mailbox search by parameters
print(answer)

answer = body.domain_add_blacklist("domain", "site", "expire", "api") #Add a domain to the blacklist
print(answer)

answer = body.domain_exclude_blacklist("domain", "site", "api") #Remove a domain from the blacklist
print(answer)

answer = body.blacklist_get_service("site", "api") #Get a blacklist
print(answer)

answer = body.mailbox_get_domains("site", "api") #List of all service domains
print(answer)

answer = body.mailbox_zones("popular", "zones", "api") #Prices and zones
print(answer)

answer = body.domain_get_alive("domain", "api") #Find out the lifetime of the domain
print(answer)

Release files for kopeechka 3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kopeechka 3.1
File Size Uploaded
kopeechka-3.1.tar.gz 2.7 kB Details

Release files / kopeechka-3.1.tar.gz

Download URL kopeechka-3.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8408632c9b0111eae5afd7f75ed5e5ae262490c4f2eaa96cd7c2c959e2b90bee
BLAKE2b-256 checksum
How to use checksums
438e1d7b8ac2e46b0417561e0b2dd5218cd77843eef1c3cf14a504c926ede6d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

8.0

1 release file

7.0

1 release file

6.0

1 release file

5.2

1 release file

5.1

1 release file

5

1 release file

4.21

1 release file

4.2

1 release file

4.1

1 release file

4.0

1 release file

This release

3.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page