<h1 align="center">MetaThreads</h1>
<p align="center">
<a href="https://choosealicense.com/licenses/mit/"> <img src="https://img.shields.io/badge/License-MIT-green.svg"></a>
<a href="https://www.python.org/"><img src="https://img.shields.io/pypi/pyversions/metathreads"></a>
<a href="https://pypi.org/project/metathreads/"> <img src="https://img.shields.io/pypi/v/metathreads"></a>
<a href="https://github.com/iSarabjitDhiman/MetaThreads/commits"> <img src="https://img.shields.io/github/last-commit/iSarabjitDhiman/MetaThreads"></a>
<a href="https://twitter.com/isarabjitdhiman"> <img src="https://img.shields.io/twitter/follow/iSarabjitDhiman?style=social"></a>
## Overview
MetaThreads is Meta Threads-API to interact with Instagram threads app, extract data and perform actions. The library is written in python. MetaThreads API lets you fetch user's threads, thread replies, user's data, user's friends. Actions like posting a thread, like/unlike threads etc. can easily be perfomed with the api. Check full list of features below.
> _Note_ : `Use it on Your Own Risk. Avoid using it in excess.` **_TRY TESTING IT WITH SOME DUMMY/FAKE ACCOUNT FIRST._**
## Installation
Install MetaThreads with pip
```python
pip install metathreads
```
## Usage/Examples
```python
python quickstart.py
```
OR
```python
from metathreads import MetaThreads
MetaThreads()
```
> ### Example
```python
from metathreads import MetaThreads
threads = MetaThreads()
threads.login("username","password")
# check logged in user
threads.me
# get thread details
threads.get_thread("thread_id or thread_url")
"""
Here is an example
thread_url > https://www.threads.net/t/CuP48CiS5sx
thread_id > 3138977881796614961
It works with both id and url.
thread.get_thread(3138977881796614961)
thread.get_thread(https://www.threads.net/t/CuP48CiS5sx)
YOU CAN ALSO THROW IN MULTIPLE INPUTS AT A SINGLE TIME (WORKS WITH EVERY METHOD i.e. liking, posting, deleting , extracting data - all functions), IT SUPPORTS ASYNC/AWAIT (CONCURRENT REQUESTS.)
Just make sure you don't hit the API rate limits.
So getting multiple threads is as easy as passing a list.
threads.get_thread([3138977881796614961,3140525365550562013])
"""
# like a thread
threads.like_thread(3138977881796614961)
# repost a thread
threads.repost_thread([3138977881796614961,3140525365550562013])
# post a thread
threads.post_thread(thread_caption="My First Thread..")
#CHECK DOCUMENTATION FOR FULL FUNCTIONALITY.
```
## Documentation
Check out step by step guide.
[Documentation](docs/docs.md)
## Configuration
> ### Example - Config Usage
```python
from metathreads import config
config.PROXY = {"http":"127.0.0.1","https":"127.0.0.1"}
config.TIMEOUT = 10
```
Check out configuration docs for the available settings.
[Configurations](docs/config.md)
## Features
- Get Threads
- Get Thread Replies
- Get User's Threads
- Get User's Threads Replies
- Get User's Data (Email, Bio, Name etc.)
- Get User's Followers/Following
- Like/Unlike Threads
- Follow/Unfollow Users
- Post / Delete Threads
- Repost Threads / Destroy Reposted Threads
- Perform User Search
- Get Notifications and much more.
## Authors
- [@iSarabjitDhiman](https://www.github.com/iSarabjitDhiman)
## Feedback
If you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman
## Support
For support, email hello@sarabjitdhiman.com
Raw data
{
"_id": null,
"home_page": "https://github.com/iSarabjitDhiman/MetaThreads",
"name": "metathreads",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "metathreads,threads-api,threadsapi,meta threads api,threads api,instagram threads,threads-api-python,insta-threads",
"author": "Sarabjit Dhiman",
"author_email": "hello@sarabjitdhiman.com",
"download_url": "https://files.pythonhosted.org/packages/ec/73/a90a7ee0e79e858e459651baafdafe9e9d579f981ce3f64b24cd0bb286de/metathreads-0.0.4.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">MetaThreads</h1>\r\n\r\n<p align=\"center\">\r\n<a href=\"https://choosealicense.com/licenses/mit/\"> <img src=\"https://img.shields.io/badge/License-MIT-green.svg\"></a>\r\n<a href=\"https://www.python.org/\"><img src=\"https://img.shields.io/pypi/pyversions/metathreads\"></a>\r\n<a href=\"https://pypi.org/project/metathreads/\"> <img src=\"https://img.shields.io/pypi/v/metathreads\"></a>\r\n<a href=\"https://github.com/iSarabjitDhiman/MetaThreads/commits\"> <img src=\"https://img.shields.io/github/last-commit/iSarabjitDhiman/MetaThreads\"></a>\r\n<a href=\"https://twitter.com/isarabjitdhiman\"> <img src=\"https://img.shields.io/twitter/follow/iSarabjitDhiman?style=social\"></a>\r\n\r\n## Overview\r\n\r\nMetaThreads is Meta Threads-API to interact with Instagram threads app, extract data and perform actions. The library is written in python. MetaThreads API lets you fetch user's threads, thread replies, user's data, user's friends. Actions like posting a thread, like/unlike threads etc. can easily be perfomed with the api. Check full list of features below.\r\n\r\n> _Note_ : `Use it on Your Own Risk. Avoid using it in excess.` **_TRY TESTING IT WITH SOME DUMMY/FAKE ACCOUNT FIRST._**\r\n\r\n## Installation\r\n\r\nInstall MetaThreads with pip\r\n\r\n```python\r\npip install metathreads\r\n```\r\n\r\n## Usage/Examples\r\n\r\n```python\r\npython quickstart.py\r\n```\r\n\r\nOR\r\n\r\n```python\r\nfrom metathreads import MetaThreads\r\n\r\nMetaThreads()\r\n```\r\n\r\n> ### Example\r\n\r\n```python\r\nfrom metathreads import MetaThreads\r\n\r\nthreads = MetaThreads()\r\nthreads.login(\"username\",\"password\")\r\n\r\n# check logged in user\r\nthreads.me\r\n\r\n# get thread details\r\nthreads.get_thread(\"thread_id or thread_url\")\r\n\"\"\"\r\nHere is an example\r\nthread_url > https://www.threads.net/t/CuP48CiS5sx\r\nthread_id > 3138977881796614961\r\n\r\nIt works with both id and url.\r\nthread.get_thread(3138977881796614961)\r\nthread.get_thread(https://www.threads.net/t/CuP48CiS5sx)\r\n\r\nYOU CAN ALSO THROW IN MULTIPLE INPUTS AT A SINGLE TIME (WORKS WITH EVERY METHOD i.e. liking, posting, deleting , extracting data - all functions), IT SUPPORTS ASYNC/AWAIT (CONCURRENT REQUESTS.)\r\nJust make sure you don't hit the API rate limits.\r\n\r\nSo getting multiple threads is as easy as passing a list.\r\n\r\nthreads.get_thread([3138977881796614961,3140525365550562013])\r\n\"\"\"\r\n\r\n# like a thread\r\nthreads.like_thread(3138977881796614961)\r\n\r\n# repost a thread\r\nthreads.repost_thread([3138977881796614961,3140525365550562013])\r\n\r\n# post a thread\r\nthreads.post_thread(thread_caption=\"My First Thread..\")\r\n\r\n#CHECK DOCUMENTATION FOR FULL FUNCTIONALITY.\r\n```\r\n\r\n## Documentation\r\n\r\nCheck out step by step guide.\r\n\r\n[Documentation](docs/docs.md)\r\n\r\n## Configuration\r\n\r\n> ### Example - Config Usage\r\n\r\n```python\r\nfrom metathreads import config\r\n\r\nconfig.PROXY = {\"http\":\"127.0.0.1\",\"https\":\"127.0.0.1\"}\r\nconfig.TIMEOUT = 10\r\n\r\n```\r\n\r\nCheck out configuration docs for the available settings.\r\n\r\n[Configurations](docs/config.md)\r\n\r\n## Features\r\n\r\n- Get Threads\r\n- Get Thread Replies\r\n- Get User's Threads\r\n- Get User's Threads Replies\r\n- Get User's Data (Email, Bio, Name etc.)\r\n- Get User's Followers/Following\r\n- Like/Unlike Threads\r\n- Follow/Unfollow Users\r\n- Post / Delete Threads\r\n- Repost Threads / Destroy Reposted Threads\r\n- Perform User Search\r\n- Get Notifications and much more.\r\n\r\n## Authors\r\n\r\n- [@iSarabjitDhiman](https://www.github.com/iSarabjitDhiman)\r\n\r\n## Feedback\r\n\r\nIf you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman\r\n\r\n## Support\r\n\r\nFor support, email hello@sarabjitdhiman.com\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "MetaThreads is Meta Threads-API to interact with Instagram threads app, extract data and perform actions. The library is written in python. MetaThreads API lets you fetch user's threads, thread replies, user's data, user's friends. Actions like posting a thread, like/unlike threads etc. can easily be perfomed with the api.",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/iSarabjitDhiman/MetaThreads"
},
"split_keywords": [
"metathreads",
"threads-api",
"threadsapi",
"meta threads api",
"threads api",
"instagram threads",
"threads-api-python",
"insta-threads"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "afde2ca5032805b3984aeecd9453e2ad7ec832afe49fe8780f168c1f3bd8843f",
"md5": "2473032b54b905903f47f9ccd30c8a4d",
"sha256": "d07ddba3337f3412684df79a5bdf7c639b0138a685d4c94fa37bcdab17d1569f"
},
"downloads": -1,
"filename": "metathreads-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2473032b54b905903f47f9ccd30c8a4d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 12328,
"upload_time": "2023-07-18T12:07:53",
"upload_time_iso_8601": "2023-07-18T12:07:53.221618Z",
"url": "https://files.pythonhosted.org/packages/af/de/2ca5032805b3984aeecd9453e2ad7ec832afe49fe8780f168c1f3bd8843f/metathreads-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ec73a90a7ee0e79e858e459651baafdafe9e9d579f981ce3f64b24cd0bb286de",
"md5": "58af5fc68c2991eaa42d51899013974c",
"sha256": "2c47d6f85b53a81410106947c49a4a451ad40fc5727fed3c5a08562598e84f3e"
},
"downloads": -1,
"filename": "metathreads-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "58af5fc68c2991eaa42d51899013974c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 12581,
"upload_time": "2023-07-18T12:07:55",
"upload_time_iso_8601": "2023-07-18T12:07:55.095612Z",
"url": "https://files.pythonhosted.org/packages/ec/73/a90a7ee0e79e858e459651baafdafe9e9d579f981ce3f64b24cd0bb286de/metathreads-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-18 12:07:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "iSarabjitDhiman",
"github_project": "MetaThreads",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "metathreads"
}