Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

365SMS API

Установка

В терминале(Или в командной строке) pip install 365sms

Инициализация

from three65smsapi import three65sms

# Это пример, вам нужно подставить вместо 'your api key' свой API ключ(Можно получить тут: https://365sms.ru/account)
client = three65sms(api_key='your api key')

Получение баланса аккаунта

client.getnumbersstatus(country='0', operator='any') # Вместо 0 в country надо подставить id своей страны(Получить тут: https://365sms.ru/api365), в поле operator можно оставить any, но лучше указать оператора(Получить там же где и id страны)

Получение количества доступных номеров

client.getnumbersstatus(country='0', operator='any') # Вместо 0 в country надо подставить id своей страны(Получить тут: https://365sms.ru/api365), в поле operator можно оставить any, но лучше указать оператора(Получить там же где и id страны)

Заказ номера

client.buynumber(service='Сервис', country='ID Страны(Не название)', operator='Оператор')

Изменить статус заказа

client.setnumberstatus(id='id номера(Получаеться при заказе)', status='Статус который примет заказ(id статусов можно найти в документации 365sms(https://365sms.ru/api365))')

Получить статус заказа

client.getnumberstatus(id='id номера(Получаеться при заказе)')

Получить все цены

client.getallprices(service='Сервис', country='ID Страны(Не название)')

Metadata

Release files for 365sms 1.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 365sms 1.1
File Size Uploaded Provenance
365sms-1.1.tar.gz 2.4 kB Without provenance Details

Release files / 365sms-1.1.tar.gz

Download URL 365sms-1.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ec7a2426cb6434357ce7d75384b03ede164d2a10c8b39ab0a25b5574d62f550a
BLAKE2b-256 checksum
How to use checksums
43f73d8cbf68b05a197ce2b15b4ec513a3b4c79ea0cc0dae8b3c3b17d1557162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Security for 365sms 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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