BROKENXAPI 2.0.5__py3-none-any.whl → 2.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- brokenxapi/__init__.py +3 -3
- brokenxapi/__version__.py +1 -1
- brokenxapi-2.0.7.dist-info/METADATA +237 -0
- brokenxapi-2.0.7.dist-info/RECORD +13 -0
- brokenxapi-2.0.5.dist-info/METADATA +0 -178
- brokenxapi-2.0.5.dist-info/RECORD +0 -13
- {brokenxapi-2.0.5.dist-info → brokenxapi-2.0.7.dist-info}/WHEEL +0 -0
- {brokenxapi-2.0.5.dist-info → brokenxapi-2.0.7.dist-info}/entry_points.txt +0 -0
- {brokenxapi-2.0.5.dist-info → brokenxapi-2.0.7.dist-info}/licenses/LICENSE +0 -0
- {brokenxapi-2.0.5.dist-info → brokenxapi-2.0.7.dist-info}/top_level.txt +0 -0
brokenxapi/__init__.py
CHANGED
|
@@ -8,9 +8,9 @@ __all__ = ["BrokenXAPI"]
|
|
|
8
8
|
|
|
9
9
|
logger = logging.getLogger("BrokenXAPI")
|
|
10
10
|
|
|
11
|
-
logger.info("
|
|
11
|
+
logger.info("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━")
|
|
12
12
|
logger.info("🚀 BROKENXAPI INITIALIZED")
|
|
13
13
|
logger.info("⚡ Powered by Broken X Network")
|
|
14
|
-
logger.info("🔐
|
|
14
|
+
logger.info("🔐 Join Telegram: @AboutBrokenX • @BrokenXNetwork1 For Future Updates")
|
|
15
15
|
logger.info("Thanks ❤🩹 For Using BrokenxAPI")
|
|
16
|
-
logger.info("
|
|
16
|
+
logger.info("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━")
|
brokenxapi/__version__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "2.0.
|
|
1
|
+
__version__ = "2.0.7"
|
|
2
2
|
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: BROKENXAPI
|
|
3
|
+
Version: 2.0.7
|
|
4
|
+
Summary: Official async Python SDK and CLI for BrokenX YouTube API
|
|
5
|
+
Author-email: Mr Broken <brokenxnetwork@gmail.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 Mr Broken
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/mrxbroken011/BROKENXAPI
|
|
29
|
+
Project-URL: Repository, https://github.com/mrxbroken011/BROKENXAPI
|
|
30
|
+
Project-URL: Documentation, https://brokenxapi-docs.vercel.app
|
|
31
|
+
Project-URL: Issues, https://github.com/mrxbroken011/BROKENXAPI/issues
|
|
32
|
+
Keywords: brokenx,youtube,api,async,sdk,cli,aiohttp,telegram
|
|
33
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
34
|
+
Classifier: Intended Audience :: Developers
|
|
35
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
36
|
+
Classifier: Topic :: Multimedia :: Video
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
+
Classifier: Operating System :: OS Independent
|
|
39
|
+
Classifier: Programming Language :: Python :: 3
|
|
40
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
46
|
+
Classifier: Framework :: AsyncIO
|
|
47
|
+
Requires-Python: >=3.8
|
|
48
|
+
Description-Content-Type: text/markdown
|
|
49
|
+
License-File: LICENSE
|
|
50
|
+
Requires-Dist: aiohttp>=3.8.0
|
|
51
|
+
Dynamic: license-file
|
|
52
|
+
|
|
53
|
+
# BROKENXAPI Documentation
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
**BROKENXAPI** is an async-first Python SDK that allows developers to access
|
|
57
|
+
BrokenX YouTube services securely using an API key.
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
> [!CAUTION]
|
|
61
|
+
> **IMPORTANT DISCLAIMER**
|
|
62
|
+
>
|
|
63
|
+
> This project is designed for **Educational Purposes Only**.
|
|
64
|
+
> Usage of this software to download copyrighted content (Music/Videos) without permission may violate YouTube's Terms of Service and local copyright laws.
|
|
65
|
+
>
|
|
66
|
+
> The developer (**MR BROKEN**) assumes **NO responsibility** for any misuse or legal consequences resulting from the use of this tool. Use it at your own risk.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Features
|
|
71
|
+
- Async / non-blocking
|
|
72
|
+
- Secure header-based authentication
|
|
73
|
+
- Clean SDK (no backend exposure)
|
|
74
|
+
- Telegram-powered media delivery
|
|
75
|
+
|
|
76
|
+
## Requirements
|
|
77
|
+
- Python 3.8 or higher
|
|
78
|
+
- Valid BrokenX API key Get it from [Here](https://t.me/AboutbrokenX)
|
|
79
|
+
- Internet access
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
##### Install with pip:
|
|
83
|
+
```bash
|
|
84
|
+
pip install BROKENXAPI
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
# Quick Start
|
|
88
|
+
|
|
89
|
+
Recommended: set your API key as an environment variable for local development.
|
|
90
|
+
|
|
91
|
+
Linux / macOS:
|
|
92
|
+
```bash
|
|
93
|
+
export API_KEY="BROKENXAPI-XXXX"
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Windows (cmd):
|
|
97
|
+
```bat
|
|
98
|
+
set API_KEY=BROKENXAPI-XXXX
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Basic usage (using env var):
|
|
102
|
+
```python
|
|
103
|
+
import os
|
|
104
|
+
import asyncio
|
|
105
|
+
from brokenxapi import BrokenXAPI
|
|
106
|
+
|
|
107
|
+
API_KEY = os.getenv("API_KEY") # recommended
|
|
108
|
+
async def main():
|
|
109
|
+
async with BrokenXAPI(api_key=API_KEY) as api:
|
|
110
|
+
result = await api.search("Arijit Singh")
|
|
111
|
+
print(result)
|
|
112
|
+
|
|
113
|
+
asyncio.run(main())
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Or pass API key directly (less secure):
|
|
117
|
+
```python
|
|
118
|
+
async with BrokenXAPI(api_key="BROKENXAPI-XXXX") as api:
|
|
119
|
+
result = await api.search("No Copyright sounds", video=False)
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
# Authentication
|
|
125
|
+
|
|
126
|
+
BROKENXAPI uses header-based authentication. The SDK sets the `Authorization` header for you when you pass `api_key` to the constructor.
|
|
127
|
+
|
|
128
|
+
Header format (used internally by the SDK):
|
|
129
|
+
```
|
|
130
|
+
Authorization: Bearer YOUR_API_KEY
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Do not commit or share your API key in public repositories.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
Context-manager usage:
|
|
139
|
+
```python
|
|
140
|
+
async with BrokenXAPI(api_key="...") as api:
|
|
141
|
+
...
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### search(query: str, video: bool = False, limit: int = 20)
|
|
145
|
+
Search for YouTube content.
|
|
146
|
+
|
|
147
|
+
- Parameters:
|
|
148
|
+
- query (str): search keyword
|
|
149
|
+
- video (bool): False = audio (default), True = video
|
|
150
|
+
- limit (int): number of results to request (default 20)
|
|
151
|
+
|
|
152
|
+
- Returns: dict — a JSON-compatible dictionary including keys such as:
|
|
153
|
+
- title
|
|
154
|
+
- video_id
|
|
155
|
+
- duration
|
|
156
|
+
- thumbnail
|
|
157
|
+
|
|
158
|
+
Example:
|
|
159
|
+
```python
|
|
160
|
+
result = await api.search("no copyright sounds", video=False)
|
|
161
|
+
video_id = result["video_id"]
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### download(video_id: str, media: str = "audio")
|
|
165
|
+
Download audio or video via BrokenX backend.
|
|
166
|
+
|
|
167
|
+
- Parameters:
|
|
168
|
+
- video_id (str): YouTube video id
|
|
169
|
+
- media (str): "audio" (default) or "video"
|
|
170
|
+
|
|
171
|
+
- Returns: dict — download metadata. Example keys:
|
|
172
|
+
- telegram_url
|
|
173
|
+
|
|
174
|
+
Example:
|
|
175
|
+
```python
|
|
176
|
+
audio = await api.download(video_id, media="audio")
|
|
177
|
+
print(audio["telegram_url"])
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
Notes:
|
|
181
|
+
- The SDK converts boolean query parameters to strings before sending (e.g. True -> "true").
|
|
182
|
+
- All network requests raise on non-2xx responses via aiohttp.
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
# Error Handling
|
|
187
|
+
|
|
188
|
+
All SDK errors inherit from `BrokenXAPIError`.
|
|
189
|
+
|
|
190
|
+
Example:
|
|
191
|
+
```python
|
|
192
|
+
from brokenxapi.exceptions import BrokenXAPIError
|
|
193
|
+
|
|
194
|
+
try:
|
|
195
|
+
await api.download("invalid_id")
|
|
196
|
+
except BrokenXAPIError as e:
|
|
197
|
+
print("Error:", e)
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
# CLI
|
|
203
|
+
|
|
204
|
+
The package provides a `brokenx` CLI. Example usage:
|
|
205
|
+
|
|
206
|
+
- Save API key:
|
|
207
|
+
```bash
|
|
208
|
+
brokenx auth BROKENXAPI-XXXX
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
- Search:
|
|
212
|
+
```bash
|
|
213
|
+
brokenx search "no copyright sounds"
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
- Download (audio):
|
|
217
|
+
```bash
|
|
218
|
+
brokenx download VIDEO_ID
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
- Download (video):
|
|
222
|
+
```bash
|
|
223
|
+
brokenx download VIDEO_ID -v
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
# Running tests
|
|
229
|
+
|
|
230
|
+
Set the `YTKEY` env var before running tests that hit the real backend:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
export API_KEY="BROKENXAPI-XXXX"
|
|
234
|
+
pytest -q
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
Tests that require a live API key are skipped automatically if `API_KEY` is not set.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
brokenxapi/__init__.py,sha256=kLRH4KqUuez6MeVRXmIGUXXhK5kTGMs5K1g5WJhv50g,672
|
|
2
|
+
brokenxapi/__version__.py,sha256=DztBFRsZn6dmSiL6gaH4Vp0DP0-eSBMtFnCE4Xras4g,23
|
|
3
|
+
brokenxapi/auth.py,sha256=OE3quhkBiWWOeq0beOUzRA4upYkVzJEmegU-n5Hytdg,247
|
|
4
|
+
brokenxapi/cli.py,sha256=uG7xMLE8jPS9FhIaYrCPGDPeQFttVfKnsLxA7WRe5Z0,1291
|
|
5
|
+
brokenxapi/client.py,sha256=_UI6fI39PsPDACZd3IC0O5CBWsTYt08UtZUC3waFEhU,2405
|
|
6
|
+
brokenxapi/exceptions.py,sha256=0__KYZV449w918o2MWsy8Enzddx3fdN1KiKXoGuePQw,192
|
|
7
|
+
brokenxapi/models.py,sha256=2qySJw3hEFJo7-mwfajEXio_1BJfyCkta_yWrd5lw_o,372
|
|
8
|
+
brokenxapi-2.0.7.dist-info/licenses/LICENSE,sha256=yRwkbOC0HB698kkiR8avfaaH53Sl81OO5wo-jQUnuHU,1066
|
|
9
|
+
brokenxapi-2.0.7.dist-info/METADATA,sha256=SIGiEeUSzur6hZYLPni4lH9wgzU-038lGnrN8n9WLpo,6409
|
|
10
|
+
brokenxapi-2.0.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
11
|
+
brokenxapi-2.0.7.dist-info/entry_points.txt,sha256=50BWnsEyhIqeJnpnS8FgL5wJx-XdxZ9wsmkL5g6KWfI,48
|
|
12
|
+
brokenxapi-2.0.7.dist-info/top_level.txt,sha256=IXYT66QzKWQbFNCWiR6YriwKBLuws3oEb6fVSfGdQVk,11
|
|
13
|
+
brokenxapi-2.0.7.dist-info/RECORD,,
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: BROKENXAPI
|
|
3
|
-
Version: 2.0.5
|
|
4
|
-
Summary: Official async Python SDK and CLI for BrokenX YouTube API
|
|
5
|
-
Author-email: Mr Broken <brokenxnetwork@gmail.com>
|
|
6
|
-
License: MIT License
|
|
7
|
-
|
|
8
|
-
Copyright (c) 2026 Mr Broken
|
|
9
|
-
|
|
10
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
-
in the Software without restriction, including without limitation the rights
|
|
13
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
-
furnished to do so, subject to the following conditions:
|
|
16
|
-
|
|
17
|
-
The above copyright notice and this permission notice shall be included in all
|
|
18
|
-
copies or substantial portions of the Software.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
-
SOFTWARE.
|
|
27
|
-
|
|
28
|
-
Project-URL: Homepage, https://github.com/mrxbroken011/BROKENXAPI
|
|
29
|
-
Project-URL: Repository, https://github.com/mrxbroken011/BROKENXAPI
|
|
30
|
-
Project-URL: Documentation, https://brokenxapi-docs.vercel.app
|
|
31
|
-
Project-URL: Issues, https://github.com/mrxbroken011/BROKENXAPI/issues
|
|
32
|
-
Keywords: brokenx,youtube,api,async,sdk,cli,aiohttp,telegram
|
|
33
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
34
|
-
Classifier: Intended Audience :: Developers
|
|
35
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
36
|
-
Classifier: Topic :: Multimedia :: Video
|
|
37
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
-
Classifier: Operating System :: OS Independent
|
|
39
|
-
Classifier: Programming Language :: Python :: 3
|
|
40
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
41
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
42
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
43
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
46
|
-
Classifier: Framework :: AsyncIO
|
|
47
|
-
Requires-Python: >=3.8
|
|
48
|
-
Description-Content-Type: text/markdown
|
|
49
|
-
License-File: LICENSE
|
|
50
|
-
Requires-Dist: aiohttp>=3.8.0
|
|
51
|
-
Dynamic: license-file
|
|
52
|
-
|
|
53
|
-
# BROKENXAPI
|
|
54
|
-
|
|
55
|
-
**BROKENXAPI** is a high-performance asynchronous **Python SDK and CLI** that enables developers to search and download YouTube audio or video through a remote backend API.
|
|
56
|
-
|
|
57
|
-
It is built for **automation tools**, **Telegram bots**, and **production systems** where reliability, speed, and a clean developer experience are critical.
|
|
58
|
-
|
|
59
|
-
The SDK abstracts authentication and networking, while the CLI provides a fast and simple way to interact with the API directly from the terminal.
|
|
60
|
-
|
|
61
|
-
---
|
|
62
|
-
|
|
63
|
-
<p align="center">
|
|
64
|
-
<img src="./docs/brokenx.gif" width="600" />
|
|
65
|
-
</p>
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## Installation
|
|
70
|
-
|
|
71
|
-
Install via pip:
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
pip install BROKENXAPI
|
|
75
|
-
````
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Authentication
|
|
80
|
-
|
|
81
|
-
BROKENXAPI requires an API key for all requests.
|
|
82
|
-
|
|
83
|
-
### Environment Variable (Recommended)
|
|
84
|
-
|
|
85
|
-
**Linux / macOS**
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
export YTKEY="BROKENXAPI-XXXX"
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
**Windows**
|
|
92
|
-
|
|
93
|
-
```bat
|
|
94
|
-
set YTKEY=BROKENXAPI-XXXX
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
## Python SDK Usage
|
|
100
|
-
|
|
101
|
-
```python
|
|
102
|
-
import asyncio
|
|
103
|
-
from brokenxapi import BrokenXAPI
|
|
104
|
-
|
|
105
|
-
async def main():
|
|
106
|
-
async with BrokenXAPI(api_key="BROKENXAPI-XXXX") as api:
|
|
107
|
-
# Search YouTube
|
|
108
|
-
search = await api.search("moosetape", video=False)
|
|
109
|
-
video_id = search["video_id"]
|
|
110
|
-
|
|
111
|
-
# Download audio
|
|
112
|
-
audio = await api.download(video_id, "audio")
|
|
113
|
-
print(audio["telegram_url"])
|
|
114
|
-
|
|
115
|
-
asyncio.run(main())
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Download Video (SDK)
|
|
121
|
-
|
|
122
|
-
```python
|
|
123
|
-
async with BrokenXAPI(api_key="BROKENXAPI-XXXX") as api:
|
|
124
|
-
video = await api.download("VIDEO_ID", "video")
|
|
125
|
-
print(video["telegram_url"])
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
---
|
|
129
|
-
|
|
130
|
-
## CLI Usage
|
|
131
|
-
|
|
132
|
-
Authenticate once:
|
|
133
|
-
|
|
134
|
-
```bash
|
|
135
|
-
brokenx auth BROKENXAPI-XXXX
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
Check installed version:
|
|
139
|
-
|
|
140
|
-
```bash
|
|
141
|
-
brokenx -v
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
Search YouTube:
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
brokenx search "moosetape"
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
Download audio:
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
brokenx download VIDEO_ID
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
Download video:
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
brokenx download VIDEO_ID -v
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
## Notes
|
|
165
|
-
|
|
166
|
-
* Python **3.8+** is required
|
|
167
|
-
* An API key is mandatory for all requests
|
|
168
|
-
* All responses are returned as JSON-compatible dictionaries
|
|
169
|
-
* Download responses include a **Telegram-ready file URL**
|
|
170
|
-
|
|
171
|
-
---
|
|
172
|
-
|
|
173
|
-
## License
|
|
174
|
-
|
|
175
|
-
© 2025 **MR Broken**
|
|
176
|
-
All rights reserved.
|
|
177
|
-
|
|
178
|
-
---
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
brokenxapi/__init__.py,sha256=bimmkqNAi3GRJVjRVQiKlD9mhxmeLMTuNL7RX4EZg6o,557
|
|
2
|
-
brokenxapi/__version__.py,sha256=6ordXD7RlJISGczKIl0KsCvQWPfd4S6i08UAOPccBTI,23
|
|
3
|
-
brokenxapi/auth.py,sha256=OE3quhkBiWWOeq0beOUzRA4upYkVzJEmegU-n5Hytdg,247
|
|
4
|
-
brokenxapi/cli.py,sha256=uG7xMLE8jPS9FhIaYrCPGDPeQFttVfKnsLxA7WRe5Z0,1291
|
|
5
|
-
brokenxapi/client.py,sha256=_UI6fI39PsPDACZd3IC0O5CBWsTYt08UtZUC3waFEhU,2405
|
|
6
|
-
brokenxapi/exceptions.py,sha256=0__KYZV449w918o2MWsy8Enzddx3fdN1KiKXoGuePQw,192
|
|
7
|
-
brokenxapi/models.py,sha256=2qySJw3hEFJo7-mwfajEXio_1BJfyCkta_yWrd5lw_o,372
|
|
8
|
-
brokenxapi-2.0.5.dist-info/licenses/LICENSE,sha256=yRwkbOC0HB698kkiR8avfaaH53Sl81OO5wo-jQUnuHU,1066
|
|
9
|
-
brokenxapi-2.0.5.dist-info/METADATA,sha256=0Mw6OKt5UWjlqkxTFXVg27ujtffPRhof2ZPoAjIMkuA,4638
|
|
10
|
-
brokenxapi-2.0.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
11
|
-
brokenxapi-2.0.5.dist-info/entry_points.txt,sha256=50BWnsEyhIqeJnpnS8FgL5wJx-XdxZ9wsmkL5g6KWfI,48
|
|
12
|
-
brokenxapi-2.0.5.dist-info/top_level.txt,sha256=IXYT66QzKWQbFNCWiR6YriwKBLuws3oEb6fVSfGdQVk,11
|
|
13
|
-
brokenxapi-2.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|