## IPQualityScore API Python Wrapper
This Python wrapper provides an easy-to-use interface to interact with the IPQualityScore API. It supports various endpoints including proxy and VPN checks, email validation, phone number validation, URL validation, file scanning for malware, darknet data checks, fraud reporting, and account usage information.
**API DOCS**: [Fraud Prevention API | IPQS Fraud Detection API Documentation | IPQualityScore](https://www.ipqualityscore.com/documentation/overview)
You can switch between English and Russian documentation using the links below:
- [🇺🇸 English](#English)
- [🇷🇺 Русский](#Русский)
## English
### Overview
The `ipqsapi` library provides an easy-to-use interface for interacting with the IPQualityScore API. The library includes methods for checking proxy/VPN usage, phone numbers, email addresses, URLs, malware, darknet data, and reporting fraud.
### Installation
To install the library, use pip:
```bash
pip install ipqsapi
```
## Usage
Here's a brief overview of how to use the `ipqsapi` library with various endpoints:
### Initialize the API
First, you need to initialize the API with your IPQualityScore API key:
```python
import ipqsapi
api = ipqsapi.API("YOUR_API_KEY_HERE")
```
### Proxy and VPN Check
To check if an IP address is a proxy or VPN, use the `proxyvpn_check` endpoint:
```python
from ipqsapi.data.proxyvpn_data import ProxyVPNData
proxy_vpn = api.proxyvpn_check
response: ProxyVPNData = proxy_vpn.get_info(
ip_address="23.106.56.43",
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0",
user_language="en-US",
allow_public_access_points=True,
mobile=True,
fast=True,
strictness=0,
lighter_penalties=False
)
print(response)
```
### Phone Check
To validate a phone number, use the `phone_check` endpoint:
```python
from ipqsapi.data.phone_data import PhoneData
phone = api.phone_check
response: PhoneData = phone.get_info(
phone_number="15172938623",
country="US",
strictness=1
)
print(response)
```
### Email Check
To validate an email address, use the `email_check` endpoint:
```python
from ipqsapi.data.email_data import EmailData
email = api.email_check
response: EmailData = email.get_info(
email="sawaglumov2006@gmail.com",
fast=True,
timeout=5,
strictness=1
)
print(response)
```
### URL Check
To check a URL, use the `url_check` endpoint:
```python
from ipqsapi.data.url_data import UrlData
url = api.url_check
response: UrlData = url.get_info(
url="google.com",
fast=True,
timeout=5,
strictness=1
)
print(response)
```
### Malicious File Check
To scan a file for malware or check a file's previous scan result, use the `malicious_check` endpoint:
```python
https://drive.usercontent.google.com/download?id=1a8n_HxT7QYw-8YOOCH0BnNKQQqdpB4HE&export=download&authuser=0&confirm=t&uuid=1883796e-6f0b-4fc2-b784-ce0f94da9291&at=APZUnTV_A-yM1WjkP04-9qjMynwb:1721654626905from ipqsapi.data.malicious_data import MaliciousData
malicious = api.malicious_check
response: MaliciousData = malicious.get_info(
file_path_or_url="file.py",
is_url=False
)
print(response)
# For URL-based file checks
malicious = api.malicious_check
response: MaliciousData = malicious.get_info(
file_path_or_url="https://drive.usercontent.google.com/download?id=1a8n_HxT7QYw-8YOOCH0BnNKQQqdpB4HE&export=download&authuser=0&confirm=t&uuid=1883796e-6f0b-4fc2-b784-ce0f94da9291&at=APZUnTV_A-yM1WjkP04-9qjMynwb:1721654626905",
is_url=True
)
print(response)
```
### Darknet Data Check
To check if data has appeared in a darknet leak, use the `darknet_check` endpoint:
```python
from ipqsapi.data.darknet_data import DarknetData
darknet = api.darknet_check
response: DarknetData = darknet.get_info(
data="SawaPlayGO",
type="username"
)
print(response)
```
### Fraud Reporting
To report fraudulent data, use the `fraud_send` endpoint:
```python
from ipqsapi.data.fraud_data import FraudData
fraud = api.fraud_send
response: FraudData = fraud.send_info(
ip="23.106.56.43"
)
print(response)
```
### Account Usage
To get account usage information, use the `account_check` endpoint:
```python
from ipqsapi.data.account_data import AccountData
account = api.account_check
response: AccountData = account.get_info()
print(response)
```
## API Key
Replace `"YOUR_API_KEY_HERE"` with your actual IPQualityScore API key. You can obtain your API key from the [IPQualityScore website](https://www.ipqualityscore.com).
## License
This project is licensed under the MIT License - see the [LICENSE]() file for details.
## Contributing
Feel free to submit issues or pull requests. We welcome contributions from the community.
# Русский
## Обзор
Библиотека `ipqsapi` предоставляет удобный интерфейс для взаимодействия с API IPQualityScore. Библиотека включает методы для проверки использования прокси/VPN, телефонных номеров, email-адресов, URL, вредоносного ПО, данных из Даркнета и отчетов о мошенничестве.
## Установка
Для установки библиотеки используйте pip:
```bash
pip install ipqsapi
```
## Использование
Вот краткий обзор использования библиотеки `ipqsapi` с различными конечными точками:
### Инициализация API
Сначала нужно инициализировать API с вашим ключом API IPQualityScore:
```python
import ipqsapi
api = ipqsapi.API("ВАШ_API_КЛЮЧ")
```
### Проверка прокси/VPN
Для проверки, является ли IP-адрес прокси или VPN, используйте конечную точку `proxyvpn_check`:
```python
from ipqsapi.data.proxyvpn_data import ProxyVPNData
proxy_vpn = api.proxyvpn_check
response: ProxyVPNData = proxy_vpn.get_info(
ip_address="23.106.56.43",
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0",
user_language="ru-RU",
allow_public_access_points=True,
mobile=True,
fast=True,
strictness=0,
lighter_penalties=False
)
print(response)
```
### Проверка телефона
Для проверки телефонного номера используйте конечную точку `phone_check`:
```python
from ipqsapi.data.phone_data import PhoneData
phone = api.phone_check
response: PhoneData = phone.get_info(
phone_number="15172938623",
country="US",
strictness=1
)
print(response)
```
### Проверка email
Для проверки email-адреса используйте конечную точку `email_check`:
```python
from ipqsapi.data.email_data import EmailData
email = api.email_check
response: EmailData = email.get_info(
email="sawaglumov2006@gmail.com",
fast=True,
timeout=5,
strictness=1
)
print(response)
```
### Проверка URL
Для проверки URL используйте конечную точку `url_check`:
```python
from ipqsapi.data.url_data import UrlData
url = api.url_check
response: UrlData = url.get_info(
url="google.com",
fast=True,
timeout=5,
strictness=1
)
print(response)
```
### Проверка вредоносного ПО
Для сканирования файла на наличие вредоносного ПО или проверки предыдущего сканирования файла используйте конечную точку `malicious_check`:
```python
from ipqsapi.data.malicious_data import MaliciousData
# Локальный файл
malicious = api.malicious_check
response: MaliciousData = malicious.get_info(
file_path_or_url="file.py",
is_url=False
)
print(response)
# Проверка файла по URL
malicious = api.malicious_check
response: MaliciousData = malicious.get_info(
file_path_or_url="https://drive.usercontent.google.com/download?id=1a8n_HxT7QYw-8YOOCH0BnNKQQqdpB4HE&export=download&authuser=0&confirm=t&uuid=1883796e-6f0b-4fc2-b784-ce0f94da9291&at=APZUnTV_A-yM1WjkP04-9qjMynwb:1721654626905",
is_url=True
)
print(response)
```
### Проверка данных из Даркнета
Для проверки, появились ли данные в утечке из Даркнета, используйте конечную точку `darknet_check`:
```python
from ipqsapi.data.darknet_data import DarknetData
darknet = api.darknet_check
response: DarknetData = darknet.get_info(
data="SawaPlayGO",
type="username"
)
print(response)
```
### Отчёт о мошенничестве
Для сообщения о мошенничестве используйте конечную точку `fraud_send`:
```python
from ipqsapi.data.fraud_data import FraudData
fraud = api.fraud_send
response: FraudData = fraud.send_info(
ip="23.106.56.43"
)
print(response)
```
### Информация о использовании аккаунта
Для получения информации о использовании аккаунта используйте конечную точку `account_check`:
```python
from ipqsapi.data.account_data import AccountData
account = api.account_check
response: AccountData = account.get_info()
print(response)
```
## API Ключ
Замените `"ВАШ_API_КЛЮЧ"` на ваш реальный ключ API IPQualityScore. Вы можете получить ваш API ключ на [веб-сайте IPQualityScore](https://www.ipqualityscore.com).
## Лицензия
Этот проект лицензируется под лицензией MIT - смотрите файл [LICENSE](LICENSE) для деталей.
## Участие
Не стесняйтесь сообщать об ошибках или отправлять pull-запросы. Мы приветствуем вклад от сообщества.
Raw data
{
"_id": null,
"home_page": "https://github.com/SawaPlayGO/ipqsapi",
"name": "ipqsapi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "IPQualityScore API wrapper proxy VPN email validation phone validation. Darknet username, email, password checker.",
"author": "SawaPlayGO",
"author_email": "sawaglumov2006@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f1/f5/6aaa1106e64bfad25e0b62322722049cb557f81a034eca94d26eead3bf2c/ipqsapi-1.0.5.tar.gz",
"platform": null,
"description": "## IPQualityScore API Python Wrapper\r\n\r\nThis Python wrapper provides an easy-to-use interface to interact with the IPQualityScore API. It supports various endpoints including proxy and VPN checks, email validation, phone number validation, URL validation, file scanning for malware, darknet data checks, fraud reporting, and account usage information.\r\n\r\n**API DOCS**: [Fraud Prevention API | IPQS Fraud Detection API Documentation | IPQualityScore](https://www.ipqualityscore.com/documentation/overview)\r\n\r\nYou can switch between English and Russian documentation using the links below:\r\n\r\n- [\ud83c\uddfa\ud83c\uddf8 English](#English)\r\n- [\ud83c\uddf7\ud83c\uddfa \u0420\u0443\u0441\u0441\u043a\u0438\u0439](#\u0420\u0443\u0441\u0441\u043a\u0438\u0439)\r\n\r\n## English\r\n\r\n### Overview\r\n\r\nThe `ipqsapi` library provides an easy-to-use interface for interacting with the IPQualityScore API. The library includes methods for checking proxy/VPN usage, phone numbers, email addresses, URLs, malware, darknet data, and reporting fraud.\r\n\r\n### Installation\r\n\r\nTo install the library, use pip:\r\n\r\n```bash\r\npip install ipqsapi\r\n```\r\n\r\n## Usage\r\n\r\nHere's a brief overview of how to use the `ipqsapi` library with various endpoints:\r\n\r\n### Initialize the API\r\n\r\nFirst, you need to initialize the API with your IPQualityScore API key:\r\n\r\n```python\r\nimport ipqsapi\r\n\r\napi = ipqsapi.API(\"YOUR_API_KEY_HERE\")\r\n```\r\n### Proxy and VPN Check\r\n\r\nTo check if an IP address is a proxy or VPN, use the `proxyvpn_check` endpoint:\r\n\r\n```python\r\nfrom ipqsapi.data.proxyvpn_data import ProxyVPNData\r\n\r\nproxy_vpn = api.proxyvpn_check\r\nresponse: ProxyVPNData = proxy_vpn.get_info(\r\n ip_address=\"23.106.56.43\",\r\n user_agent=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0\",\r\n user_language=\"en-US\",\r\n allow_public_access_points=True,\r\n mobile=True,\r\n fast=True,\r\n strictness=0,\r\n lighter_penalties=False\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### Phone Check\r\n\r\nTo validate a phone number, use the `phone_check` endpoint:\r\n\r\n```python\r\nfrom ipqsapi.data.phone_data import PhoneData\r\n\r\nphone = api.phone_check\r\nresponse: PhoneData = phone.get_info(\r\n phone_number=\"15172938623\",\r\n country=\"US\",\r\n strictness=1\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### Email Check\r\n\r\nTo validate an email address, use the `email_check` endpoint:\r\n\r\n```python\r\nfrom ipqsapi.data.email_data import EmailData\r\n\r\nemail = api.email_check\r\nresponse: EmailData = email.get_info(\r\n email=\"sawaglumov2006@gmail.com\",\r\n fast=True,\r\n timeout=5,\r\n strictness=1\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### URL Check\r\n\r\nTo check a URL, use the `url_check` endpoint:\r\n\r\n```python\r\nfrom ipqsapi.data.url_data import UrlData\r\n\r\nurl = api.url_check\r\nresponse: UrlData = url.get_info(\r\n url=\"google.com\",\r\n fast=True,\r\n timeout=5,\r\n strictness=1\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### Malicious File Check\r\n\r\nTo scan a file for malware or check a file's previous scan result, use the `malicious_check` endpoint:\r\n\r\n```python\r\nhttps://drive.usercontent.google.com/download?id=1a8n_HxT7QYw-8YOOCH0BnNKQQqdpB4HE&export=download&authuser=0&confirm=t&uuid=1883796e-6f0b-4fc2-b784-ce0f94da9291&at=APZUnTV_A-yM1WjkP04-9qjMynwb:1721654626905from ipqsapi.data.malicious_data import MaliciousData\r\n\r\nmalicious = api.malicious_check\r\nresponse: MaliciousData = malicious.get_info(\r\n file_path_or_url=\"file.py\",\r\n is_url=False\r\n)\r\n\r\nprint(response)\r\n\r\n# For URL-based file checks\r\nmalicious = api.malicious_check\r\nresponse: MaliciousData = malicious.get_info(\r\n file_path_or_url=\"https://drive.usercontent.google.com/download?id=1a8n_HxT7QYw-8YOOCH0BnNKQQqdpB4HE&export=download&authuser=0&confirm=t&uuid=1883796e-6f0b-4fc2-b784-ce0f94da9291&at=APZUnTV_A-yM1WjkP04-9qjMynwb:1721654626905\",\r\n is_url=True\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### Darknet Data Check\r\n\r\nTo check if data has appeared in a darknet leak, use the `darknet_check` endpoint:\r\n\r\n```python\r\nfrom ipqsapi.data.darknet_data import DarknetData\r\n\r\ndarknet = api.darknet_check\r\nresponse: DarknetData = darknet.get_info(\r\n data=\"SawaPlayGO\",\r\n type=\"username\"\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### Fraud Reporting\r\n\r\nTo report fraudulent data, use the `fraud_send` endpoint:\r\n\r\n```python\r\nfrom ipqsapi.data.fraud_data import FraudData\r\n\r\nfraud = api.fraud_send\r\nresponse: FraudData = fraud.send_info(\r\n ip=\"23.106.56.43\"\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### Account Usage\r\n\r\nTo get account usage information, use the `account_check` endpoint:\r\n\r\n```python\r\nfrom ipqsapi.data.account_data import AccountData\r\n\r\naccount = api.account_check\r\nresponse: AccountData = account.get_info()\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n## API Key\r\n\r\nReplace `\"YOUR_API_KEY_HERE\"` with your actual IPQualityScore API key. You can obtain your API key from the [IPQualityScore website](https://www.ipqualityscore.com).\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE]() file for details.\r\n\r\n## Contributing\r\n\r\nFeel free to submit issues or pull requests. We welcome contributions from the community.\r\n\r\n# \u0420\u0443\u0441\u0441\u043a\u0438\u0439\r\n\r\n## \u041e\u0431\u0437\u043e\u0440\r\n\r\n\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 `ipqsapi` \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 API IPQualityScore. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u043a\u0441\u0438/VPN, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u043e\u0432, email-\u0430\u0434\u0440\u0435\u0441\u043e\u0432, URL, \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u043d\u043e\u0433\u043e \u041f\u041e, \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0414\u0430\u0440\u043a\u043d\u0435\u0442\u0430 \u0438 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u043e \u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u0435.\r\n\r\n## \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\r\n\r\n\u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 pip:\r\n\r\n```bash\r\npip install ipqsapi\r\n```\r\n\r\n## \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\r\n\r\n\u0412\u043e\u0442 \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 `ipqsapi` \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c\u0438 \u0442\u043e\u0447\u043a\u0430\u043c\u0438:\r\n\r\n### \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f API\r\n\r\n\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c API \u0441 \u0432\u0430\u0448\u0438\u043c \u043a\u043b\u044e\u0447\u043e\u043c API IPQualityScore:\r\n\r\n```python\r\nimport ipqsapi\r\n\r\napi = ipqsapi.API(\"\u0412\u0410\u0428_API_\u041a\u041b\u042e\u0427\")\r\n```\r\n\r\n### \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u043e\u043a\u0441\u0438/VPN\r\n\r\n\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 IP-\u0430\u0434\u0440\u0435\u0441 \u043f\u0440\u043e\u043a\u0441\u0438 \u0438\u043b\u0438 VPN, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 `proxyvpn_check`:\r\n\r\n```python\r\nfrom ipqsapi.data.proxyvpn_data import ProxyVPNData\r\n\r\nproxy_vpn = api.proxyvpn_check\r\nresponse: ProxyVPNData = proxy_vpn.get_info(\r\n ip_address=\"23.106.56.43\",\r\n user_agent=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0\",\r\n user_language=\"ru-RU\",\r\n allow_public_access_points=True,\r\n mobile=True,\r\n fast=True,\r\n strictness=0,\r\n lighter_penalties=False\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430\r\n\r\n\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 `phone_check`:\r\n\r\n```python\r\nfrom ipqsapi.data.phone_data import PhoneData\r\n\r\nphone = api.phone_check\r\nresponse: PhoneData = phone.get_info(\r\n phone_number=\"15172938623\",\r\n country=\"US\",\r\n strictness=1\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 email\r\n\r\n\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 email-\u0430\u0434\u0440\u0435\u0441\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 `email_check`:\r\n\r\n```python\r\nfrom ipqsapi.data.email_data import EmailData\r\n\r\nemail = api.email_check\r\nresponse: EmailData = email.get_info(\r\n email=\"sawaglumov2006@gmail.com\",\r\n fast=True,\r\n timeout=5,\r\n strictness=1\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 URL\r\n\r\n\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 URL \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 `url_check`:\r\n\r\n```python\r\nfrom ipqsapi.data.url_data import UrlData\r\n\r\nurl = api.url_check\r\nresponse: UrlData = url.get_info(\r\n url=\"google.com\",\r\n fast=True,\r\n timeout=5,\r\n strictness=1\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u043d\u043e\u0433\u043e \u041f\u041e\r\n\r\n\u0414\u043b\u044f \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u043d\u043e\u0433\u043e \u041f\u041e \u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 `malicious_check`:\r\n\r\n```python\r\nfrom ipqsapi.data.malicious_data import MaliciousData\r\n\r\n# \u041b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\r\nmalicious = api.malicious_check\r\nresponse: MaliciousData = malicious.get_info(\r\n file_path_or_url=\"file.py\",\r\n is_url=False\r\n)\r\n\r\nprint(response)\r\n\r\n# \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u043f\u043e URL\r\nmalicious = api.malicious_check\r\nresponse: MaliciousData = malicious.get_info(\r\n file_path_or_url=\"https://drive.usercontent.google.com/download?id=1a8n_HxT7QYw-8YOOCH0BnNKQQqdpB4HE&export=download&authuser=0&confirm=t&uuid=1883796e-6f0b-4fc2-b784-ce0f94da9291&at=APZUnTV_A-yM1WjkP04-9qjMynwb:1721654626905\",\r\n is_url=True\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0414\u0430\u0440\u043a\u043d\u0435\u0442\u0430\r\n\r\n\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0443\u0442\u0435\u0447\u043a\u0435 \u0438\u0437 \u0414\u0430\u0440\u043a\u043d\u0435\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 `darknet_check`:\r\n\r\n```python\r\nfrom ipqsapi.data.darknet_data import DarknetData\r\n\r\ndarknet = api.darknet_check\r\nresponse: DarknetData = darknet.get_info(\r\n data=\"SawaPlayGO\",\r\n type=\"username\"\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### \u041e\u0442\u0447\u0451\u0442 \u043e \u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u0435\r\n\r\n\u0414\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e \u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 `fraud_send`:\r\n\r\n```python\r\nfrom ipqsapi.data.fraud_data import FraudData\r\n\r\nfraud = api.fraud_send\r\nresponse: FraudData = fraud.send_info(\r\n ip=\"23.106.56.43\"\r\n)\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n### \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430\r\n\r\n\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 `account_check`:\r\n\r\n```python\r\nfrom ipqsapi.data.account_data import AccountData\r\n\r\naccount = api.account_check\r\nresponse: AccountData = account.get_info()\r\n\r\nprint(response)\r\n\r\n```\r\n\r\n## API \u041a\u043b\u044e\u0447\r\n\r\n\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u0435 `\"\u0412\u0410\u0428_API_\u041a\u041b\u042e\u0427\"` \u043d\u0430 \u0432\u0430\u0448 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 API IPQualityScore. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0430\u0448 API \u043a\u043b\u044e\u0447 \u043d\u0430 [\u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0435 IPQualityScore](https://www.ipqualityscore.com).\r\n\r\n## \u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f\r\n\r\n\u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 MIT - \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043b [LICENSE](LICENSE) \u0434\u043b\u044f \u0434\u0435\u0442\u0430\u043b\u0435\u0439.\r\n\r\n## \u0423\u0447\u0430\u0441\u0442\u0438\u0435\r\n\r\n\u041d\u0435 \u0441\u0442\u0435\u0441\u043d\u044f\u0439\u0442\u0435\u0441\u044c \u0441\u043e\u043e\u0431\u0449\u0430\u0442\u044c \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445 \u0438\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c pull-\u0437\u0430\u043f\u0440\u043e\u0441\u044b. \u041c\u044b \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u043c \u0432\u043a\u043b\u0430\u0434 \u043e\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430.\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "API wrapper - www.ipqualityscore.com",
"version": "1.0.5",
"project_urls": {
"Homepage": "https://github.com/SawaPlayGO/ipqsapi"
},
"split_keywords": [
"ipqualityscore api wrapper proxy vpn email validation phone validation. darknet username",
" email",
" password checker."
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f1f56aaa1106e64bfad25e0b62322722049cb557f81a034eca94d26eead3bf2c",
"md5": "25eef56684932efb678924274664f68c",
"sha256": "887cf232917afb5ed5199419e7e5cdb75860564557bda55fcfc0627256ded419"
},
"downloads": -1,
"filename": "ipqsapi-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "25eef56684932efb678924274664f68c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 17031,
"upload_time": "2024-07-25T12:34:13",
"upload_time_iso_8601": "2024-07-25T12:34:13.672417Z",
"url": "https://files.pythonhosted.org/packages/f1/f5/6aaa1106e64bfad25e0b62322722049cb557f81a034eca94d26eead3bf2c/ipqsapi-1.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-25 12:34:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SawaPlayGO",
"github_project": "ipqsapi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ipqsapi"
}