Skip to main content

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

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kopeechka-3.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file kopeechka-3.1.tar.gz.

File metadata

  • Download URL: kopeechka-3.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for kopeechka-3.1.tar.gz
Algorithm Hash digest
SHA256 8408632c9b0111eae5afd7f75ed5e5ae262490c4f2eaa96cd7c2c959e2b90bee
MD5 1d5ea16a39f714eefef9e6d25db18c18
BLAKE2b-256 438e1d7b8ac2e46b0417561e0b2dd5218cd77843eef1c3cf14a504c926ede6d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page