{"id":22379118,"url":"https://github.com/davyjonescodes/pytweettoolkit","last_synced_at":"2025-03-26T19:13:29.239Z","repository":{"id":236050230,"uuid":"777130414","full_name":"DavyJonesCodes/PyTweetToolkit","owner":"DavyJonesCodes","description":"PyTweetToolkit: An intuitive Python library for managing Twitter interactions, providing tools for posting tweets, engaging with users, and analyzing social media metrics. Perfect for automating tasks and integrating Twitter functionality into Python projects.","archived":false,"fork":false,"pushed_at":"2024-03-25T12:54:31.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-25T13:01:31.173Z","etag":null,"topics":["api-client-python","api-wrapper","python","python-library","social-media-automation","twitter-api","twitter-bot","twitter-data-analysis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DavyJonesCodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-25T09:03:56.000Z","updated_at":"2024-04-25T13:01:34.013Z","dependencies_parsed_at":"2024-04-25T13:11:36.345Z","dependency_job_id":null,"html_url":"https://github.com/DavyJonesCodes/PyTweetToolkit","commit_stats":null,"previous_names":["davyjonescodes/pytweettoolkit"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesCodes%2FPyTweetToolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesCodes%2FPyTweetToolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesCodes%2FPyTweetToolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesCodes%2FPyTweetToolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavyJonesCodes","download_url":"https://codeload.github.com/DavyJonesCodes/PyTweetToolkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245718777,"owners_count":20661161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client-python","api-wrapper","python","python-library","social-media-automation","twitter-api","twitter-bot","twitter-data-analysis"],"created_at":"2024-12-04T23:09:00.768Z","updated_at":"2025-03-26T19:13:29.215Z","avatar_url":"https://github.com/DavyJonesCodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyTweetToolkit\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/DavyJonesCodes/PyTweetToolkit/main/assets/logo.png\" alt=\"Logo\" height=\"128px\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/X-%23000000.svg?style=for-the-badge\u0026logo=X\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/DavyJonesCodes/PyTweetToolkit?style=for-the-badge\"/\u003e\n\u003c/p\u003e\n\n**PyTweetToolkit** is an intuitive Python library designed to simplify Twitter interactions, offering tools for posting tweets, engaging with followers, analyzing social media metrics, and automating various Twitter-related tasks. It's perfect for developers looking to integrate Twitter functionality into Python projects or automate their social media presence with ease.\n\n## ✨ Features\n\n- 🐦 **Tweet Posting**: Easily create and post tweets directly from your Python scripts.\n- 🤝 **User Engagement**: Automate following, unfollowing, blocking, and muting operations.\n- 📊 **Analytics**: Analyze tweet performance, follower growth, and engagement metrics.\n- 🗓️ **Content Automation**: Schedule tweets and manage your content strategy programmatically.\n\n## 🚀 Installation\n\nYou can easily install PyTweetToolkit via pip from [PyPI](https://pypi.org/project/PyTweetToolkit/):\n\n```bash\npip install PyTweetToolkit\n```\n\n### Install the latest development version\n\nIf you prefer to use the latest development version, you can install it directly from our GitHub repository:\n\n```bash\npip install git+https://github.com/DavyJonesCodes/PyTweetToolkit.git\n```\n\n## 🐍 Supported Python Versions\n\nPyTweetToolkit is compatible with Python versions 3.9 and above. Make sure you have Python 3.9 or higher installed on your system:\n\n```bash\npython --version\n```\n\nIf you need to install a newer version of Python, visit the [official Python website](https://www.python.org/downloads/) for installation instructions.\n\n## 🔐 Obtaining Authentication Cookies\n\nTo use PyTweetToolkit, you'll need to obtain authentication cookies from Twitter's website using your browser's developer tools. Follow these steps:\n\n1. **Login to Twitter**: Log in to your Twitter account in your web browser.\n2. **Open Developer Tools**: Right-click on the page and select \"Inspect\" to open the developer tools.\n3. **Navigate to Application Tab**: Go to the \"Application\" or \"Storage\" tab in the developer tools.\n4. **Find Twitter Cookies**: Look for the cookies associated with Twitter (`https://twitter.com`), especially `auth_token` and `ct0`.\n5. **Extract Cookie Values**: Copy the values of `auth_token` and `ct0`.\n6. **Use Cookie Values as Tokens**: Use these values as `auth_token` and `csrf_token` in your Python script.\n\nFor detailed usage instructions, refer to the [Quick Start](#quick-start) section below.\n\n## ⚡ Quick Start\n\nHere's a quick example to get you started with PyTweetToolkit:\n\n```python\nfrom PyTweetToolkit import PyTweetClient\n\n# Initialize the client with your credentials\nclient = PyTweetClient(auth_token=\"YOUR_AUTH_TOKEN\", csrf_token=\"YOUR_CSRF_TOKEN\")\n\n# Post a tweet\nclient.post_tweet(\"Hello, world! #MyFirstTweet\")\n\n# Follow a user\nclient.follow(\"python_community\")\n```\n\n## 📚 Documentation\n\nFor detailed documentation, including setup guides, examples, and API references, please visit our [documentation page](https://github.com/DavyJonesCodes/PyTweetToolkit/wiki/1.-Home).\n\n## 🤝 Contributions\n\nContributions are welcome! 🎉 If you'd like to contribute to PyTweetToolkit, feel free to fork the repository and submit a pull request. If you have any questions or need guidance, don't hesitate to contact me at [devjonescodes@gmail.com](mailto:devjonescodes@gmail.com).\n\n## 📄 License\n\nThis project is licensed under the MIT License. For more details, see the [LICENSE](./LICENSE) file.\n\n## 📬 Support\n\nIf you have any questions, suggestions, or run into any issues, feel free to open an issue on our GitHub repository or reach out via email at [devjonescodes@gmail.com](mailto:devjonescodes@gmail.com). We're here to help! 😊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavyjonescodes%2Fpytweettoolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavyjonescodes%2Fpytweettoolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavyjonescodes%2Fpytweettoolkit/lists"}