<h1 align="center">XNXX API</h1>
<div align="center">
<a href="https://pepy.tech/project/xnxx_api"><img src="https://static.pepy.tech/badge/xnxx_api" alt="Downloads"></a>
<a href="https://github.com/EchterAlsFake/xnxx_api/workflows/"><img src="https://github.com/EchterAlsFake/xnxx_api/workflows/CodeQL/badge.svg" alt="CodeQL Analysis"/></a>
<a href="https://github.com/EchterAlsFake/xnxx_api/workflows/"><img src="https://github.com/EchterAlsFake/xnxx_api/actions/workflows/sync-tests.yml/badge.svg" alt="API Tests"/></a>
</div>
# Description
XNXX API is an API for xnxx.com. It allows you to fetch information from videos using regexes and requests.
# Disclaimer
> [!IMPORTANT]
> XNXX API is in violation to the ToS of xnxx.com!
> If you are the website owner of xnxx.com, contact me at my E-Mail, and I'll take this repository immediately offline.
> EchterAlsFake@proton.me
# Quickstart
### Have a look at the [Documentation](https://github.com/EchterAlsFake/API_Docs/blob/master/Porn_APIs/XNXX.md) for more details
- Install the library with `pip install xnxx_api`
```python
from xnxx_api import Client
# Initialize a Client object
client = Client()
# Fetch a video
video_object = client.get_video("<insert_url_here>")
# Information from Video objects
print(video_object.title)
print(video_object.likes)
# Download the video
video_object.download(downloader="threaded", quality="best", path="your_output_path + filename")
# SEE DOCUMENTATION FOR MORE
```
> [!NOTE]
> XNXX API can also be used from the command line. Do: xnxx_api -h to see the options
# Changelog
See [Changelog](https://github.com/EchterAlsFake/xnxx_api/blob/master/README/Changelog.md) for more details.
# Support (Donations)
I am developing all my projects entirely for free. I do that because I have fun and I don't want
to charge 30€ like other people do.
However, if you find my work useful, please consider donating something. A tiny amount such as 1€
means a lot to me.
Paypal: https://paypal.me/EchterAlsFake
<br>XMR (Monero): `46xL2reuanxZgFxXBBaoagiEJK9c7bL7aiwKNR15neyX2wUsX2QVzkeRMVG2Cro44qLUNYvsP1BQa12KPbNat2ML41nyEeq`
# Contribution
Do you see any issues or having some feature requests? Simply open an Issue or talk
in the discussions.
Pull requests are also welcome.
# License
Licensed under the LGPLv3 License
<br>Copyright (C) 2023–2025 Johannes Habel
Raw data
{
"_id": null,
"home_page": "https://github.com/EchterAlsFake/xnxx_api",
"name": "xnxx-api",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Johannes Habel",
"author_email": "EchterAlsFake@proton.me",
"download_url": "https://files.pythonhosted.org/packages/b1/8e/7c4ab72a27b3b94c5fc6e036ff09c9634b9ca6a4e055affb0105d83dd266/xnxx_api-1.5.3.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">XNXX API</h1> \n\n<div align=\"center\">\n <a href=\"https://pepy.tech/project/xnxx_api\"><img src=\"https://static.pepy.tech/badge/xnxx_api\" alt=\"Downloads\"></a>\n <a href=\"https://github.com/EchterAlsFake/xnxx_api/workflows/\"><img src=\"https://github.com/EchterAlsFake/xnxx_api/workflows/CodeQL/badge.svg\" alt=\"CodeQL Analysis\"/></a>\n <a href=\"https://github.com/EchterAlsFake/xnxx_api/workflows/\"><img src=\"https://github.com/EchterAlsFake/xnxx_api/actions/workflows/sync-tests.yml/badge.svg\" alt=\"API Tests\"/></a>\n</div>\n\n# Description\n \nXNXX API is an API for xnxx.com. It allows you to fetch information from videos using regexes and requests.\n\n# Disclaimer\n\n> [!IMPORTANT] \n> XNXX API is in violation to the ToS of xnxx.com!\n> If you are the website owner of xnxx.com, contact me at my E-Mail, and I'll take this repository immediately offline.\n> EchterAlsFake@proton.me\n\n# Quickstart\n\n### Have a look at the [Documentation](https://github.com/EchterAlsFake/API_Docs/blob/master/Porn_APIs/XNXX.md) for more details\n\n- Install the library with `pip install xnxx_api`\n\n\n```python\nfrom xnxx_api import Client\n# Initialize a Client object\nclient = Client()\n\n# Fetch a video\nvideo_object = client.get_video(\"<insert_url_here>\")\n\n# Information from Video objects\nprint(video_object.title)\nprint(video_object.likes)\n# Download the video\n\nvideo_object.download(downloader=\"threaded\", quality=\"best\", path=\"your_output_path + filename\")\n\n# SEE DOCUMENTATION FOR MORE\n```\n\n> [!NOTE]\n> XNXX API can also be used from the command line. Do: xnxx_api -h to see the options\n\n# Changelog\nSee [Changelog](https://github.com/EchterAlsFake/xnxx_api/blob/master/README/Changelog.md) for more details.\n\n# Support (Donations)\nI am developing all my projects entirely for free. I do that because I have fun and I don't want\nto charge 30\u20ac like other people do.\n\nHowever, if you find my work useful, please consider donating something. A tiny amount such as 1\u20ac\nmeans a lot to me.\n\nPaypal: https://paypal.me/EchterAlsFake\n<br>XMR (Monero): `46xL2reuanxZgFxXBBaoagiEJK9c7bL7aiwKNR15neyX2wUsX2QVzkeRMVG2Cro44qLUNYvsP1BQa12KPbNat2ML41nyEeq`\n\n\n# Contribution\nDo you see any issues or having some feature requests? Simply open an Issue or talk\nin the discussions.\n\nPull requests are also welcome.\n\n# License\nLicensed under the LGPLv3 License\n<br>Copyright (C) 2023\u20132025 Johannes Habel\n",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "A Python API for the Porn Site xnxx.com",
"version": "1.5.3",
"project_urls": {
"Homepage": "https://github.com/EchterAlsFake/xnxx_api"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "add786083c0cb9c995940b781c432b96e67d56a462603c3fed75ac59a5581860",
"md5": "dbc77dc1bf4c4ad0a4952e3414eef7af",
"sha256": "fd057184032bfdcd075bf265fef519fde9ae3e924a45533faec44c2922f72680"
},
"downloads": -1,
"filename": "xnxx_api-1.5.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dbc77dc1bf4c4ad0a4952e3414eef7af",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 12163,
"upload_time": "2025-01-11T19:20:49",
"upload_time_iso_8601": "2025-01-11T19:20:49.575055Z",
"url": "https://files.pythonhosted.org/packages/ad/d7/86083c0cb9c995940b781c432b96e67d56a462603c3fed75ac59a5581860/xnxx_api-1.5.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b18e7c4ab72a27b3b94c5fc6e036ff09c9634b9ca6a4e055affb0105d83dd266",
"md5": "f5c02eb0e367e017846870ce2f0dae02",
"sha256": "81704d75391ebc60cbc5cfc7eaabd8101ec066e891c1741109aba111ef015785"
},
"downloads": -1,
"filename": "xnxx_api-1.5.3.tar.gz",
"has_sig": false,
"md5_digest": "f5c02eb0e367e017846870ce2f0dae02",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11231,
"upload_time": "2025-01-11T19:20:53",
"upload_time_iso_8601": "2025-01-11T19:20:53.569038Z",
"url": "https://files.pythonhosted.org/packages/b1/8e/7c4ab72a27b3b94c5fc6e036ff09c9634b9ca6a4e055affb0105d83dd266/xnxx_api-1.5.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-11 19:20:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "EchterAlsFake",
"github_project": "xnxx_api",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "xnxx-api"
}