[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72163":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":45,"readmeContent":46,"aiSummary":47,"trendingCount":16,"starSnapshotCount":16,"syncStatus":48,"lastSyncTime":49,"discoverSource":50},72163,"twikit","d60\u002Ftwikit","d60","Twitter API Scraper | Without an API key | Twitter Internal API | Free | Twitter scraper | Twitter Bot","https:\u002F\u002Ftwikit.readthedocs.io\u002Fen\u002Flatest\u002Ftwikit.html",null,"Python",4477,548,41,132,0,14,29,84,42,30.22,"MIT License",false,"main",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"bot","client","python","python-web-scraper","python3","scrape","scraper","scraping","search","tweepy","twitter","twitter-api","twitter-bot","twitter-client","twitter-internal-api","twitter-scraper","wrapper","x","x-api","2026-06-12 02:02:59","> [!NOTE]\n> https:\u002F\u002Fgithub.com\u002Fd60\u002Ftwitter_login (under development)\n\n\u003Cimg src=\"https:\u002F\u002Fi.imgur.com\u002FiJe6rsZ.png\"  width=\"500\">\n\n\n\n![Number of GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fd60\u002Ftwikit)\n![GitHub commit activity](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcommit-activity\u002Fm\u002Fd60\u002Ftwikit)\n![Version](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Ftwikit?label=PyPI)\n[![Tweet](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Furl\u002Fhttp\u002Fshields.io.svg?style=social)](https:\u002F\u002Ftwitter.com\u002Fintent\u002Ftweet?text=Create%20your%20own%20Twitter%20bot%20for%20free%20with%20%22Twikit%22!%20%23python%20%23twitter%20%23twikit%20%23programming%20%23github%20%23bot&url=https%3A%2F%2Fgithub.com%2Fd60%2Ftwikit)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.gg\u002FnCrByrr8cX)\n[![BuyMeACoffee](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee)](https:\u002F\u002Fwww.buymeacoffee.com\u002Fd60py)\n\n[[日本語](https:\u002F\u002Fgithub.com\u002Fd60\u002Ftwikit\u002Fblob\u002Fmain\u002FREADME-ja.md)]\n[[中文](https:\u002F\u002Fgithub.com\u002Fd60\u002Ftwikit\u002Fblob\u002Fmain\u002FREADME-zh.md)]\n\n\n# Twikit \u003Cimg height=\"35\"  src=\"https:\u002F\u002Fi.imgur.com\u002F9HSdIl4.png\"  valign=\"bottom\">\n\nA Simple Twitter API Scraper\n\nYou can use functions such as posting or searching for tweets without an API key using this library.\n\n- [Documentation (English)](https:\u002F\u002Ftwikit.readthedocs.io\u002Fen\u002Flatest\u002Ftwikit.html)\n\n\n🔵 [Discord](https:\u002F\u002Fdiscord.gg\u002FnCrByrr8cX)\n\n> [!NOTE]\n> Released twikit_grok an extension for using Grok AI with Twikit.  \n> For more details, visit: https:\u002F\u002Fgithub.com\u002Fd60\u002Ftwikit_grok.\n\n\n\n\n## Features\n\n### No API Key Required\n\nThis library uses scraping and does not require an API key.\n\n### Free\n\nThis library is free to use.\n\n\n## Functionality\n\nBy using Twikit, you can access functionalities such as the following:\n\n-  Create tweets\n\n-  Search tweets\n\n-  Retrieve trending topics\n\n- etc...\n\n\n\n## Installing\n\n```bash\n\npip install twikit\n\n```\n\n\n\n## Quick Example\n\n**Define a client and log in to the account.**\n\n```python\nimport asyncio\nfrom twikit import Client\n\nUSERNAME = 'example_user'\nEMAIL = 'email@example.com'\nPASSWORD = 'password0000'\n\n# Initialize client\nclient = Client('en-US')\n\nasync def main():\n    await client.login(\n        auth_info_1=USERNAME,\n        auth_info_2=EMAIL,\n        password=PASSWORD,\n        cookies_file='cookies.json'\n    )\n\nasyncio.run(main())\n```\n\n**Create a tweet with media attached.**\n\n```python\n# Upload media files and obtain media_ids\nmedia_ids = [\n    await client.upload_media('media1.jpg'),\n    await client.upload_media('media2.jpg')\n]\n\n# Create a tweet with the provided text and attached media\nawait client.create_tweet(\n    text='Example Tweet',\n    media_ids=media_ids\n)\n\n```\n\n**Search the latest tweets based on a keyword**\n```python\ntweets = await client.search_tweet('python', 'Latest')\n\nfor tweet in tweets:\n    print(\n        tweet.user.name,\n        tweet.text,\n        tweet.created_at\n    )\n```\n\n**Retrieve user tweets**\n```python\ntweets = await client.get_user_tweets('123456', 'Tweets')\n\nfor tweet in tweets:\n    print(tweet.text)\n```\n\n**Send a dm**\n```python\nawait client.send_dm('123456789', 'Hello')\n```\n\n**Get trends**\n```python\nawait client.get_trends('trending')\n```\n\nMore Examples: [examples](https:\u002F\u002Fgithub.com\u002Fd60\u002Ftwikit\u002Ftree\u002Fmain\u002Fexamples) \u003Cbr>\n\n## Contributing\n\nIf you encounter any bugs or issues, please report them on [issues](https:\u002F\u002Fgithub.com\u002Fd60\u002Ftwikit\u002Fissues).\n\n\nIf you find this library useful, consider starring this repository⭐️\n","Twikit 是一个无需API密钥即可使用的Twitter API抓取工具。它通过网页抓取技术实现了包括发推、搜索推文以及获取热门话题在内的多种功能，且完全免费。项目采用Python语言编写，具有良好的可扩展性和易用性。特别适合需要自动化处理Twitter相关任务但又不想或无法申请到官方API密钥的开发者使用，比如进行市场分析、社交媒体监听等场景。",2,"2026-06-11 03:40:37","high_star"]