{"id":13729224,"url":"https://github.com/rojvv/twi","last_synced_at":"2025-12-11T21:11:24.065Z","repository":{"id":48064078,"uuid":"515255430","full_name":"rojvv/twi","owner":"rojvv","description":"Twitter API v2 Client for Deno","archived":false,"fork":false,"pushed_at":"2023-03-08T06:03:54.000Z","size":84,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-16T21:12:18.677Z","etag":null,"topics":["deno","deno-module","denoland","twitter","twitter-api","twitter-bot","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rojvv.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-18T16:11:54.000Z","updated_at":"2024-11-17T22:17:18.000Z","dependencies_parsed_at":"2024-07-07T10:25:50.827Z","dependency_job_id":"40535da4-1d33-45d1-aec6-1d5866709a88","html_url":"https://github.com/rojvv/twi","commit_stats":null,"previous_names":["rojvv/twi","roj1512/twi"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/rojvv/twi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Ftwi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Ftwi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Ftwi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Ftwi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rojvv","download_url":"https://codeload.github.com/rojvv/twi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Ftwi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27670300,"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","status":"online","status_checked_at":"2025-12-11T02:00:11.302Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["deno","deno-module","denoland","twitter","twitter-api","twitter-bot","typescript"],"created_at":"2024-08-03T02:00:57.068Z","updated_at":"2025-12-11T21:11:24.043Z","avatar_url":"https://github.com/rojvv.png","language":"TypeScript","funding_links":[],"categories":["Libraries","TypeScript"],"sub_categories":["Deno"],"readme":"# Twi [![Deno](https://shield.deno.dev/x/twi)](https://deno.land/x/twi) [![v2](https://img.shields.io/endpoint?url=https%3A%2F%2Ftwbadges.glitch.me%2Fbadges%2Fv2)](https://developer.twitter.com/en/docs/twitter-api)\n\n\u003e Twitter API client for Deno ported from\n\u003e [twitter-api-typescript-sdk](https://github.com/twitterdev/twitter-api-typescript-sdk).\n\n## Example\n\n```js\nimport { Client } from \"https://deno.land/x/twi/mod.ts\";\n\nconst client = new Client(\"BEARER_TOKEN\");\n\nconst stream = client.tweets.sampleStream({\n  \"tweet.fields\": [\"author_id\"],\n});\nfor await (const tweet of stream) {\n  console.log(tweet.data?.author_id);\n}\n```\n\nCheck out [examples/](./examples) for more examples or see\n[this real-word bot](https://github.com/roj1512/rtwtrbt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frojvv%2Ftwi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frojvv%2Ftwi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frojvv%2Ftwi/lists"}