{"id":18774213,"url":"https://github.com/leny/twitter-scraper","last_synced_at":"2025-04-13T09:21:26.282Z","repository":{"id":48314956,"uuid":"164946989","full_name":"leny/twitter-scraper","owner":"leny","description":"A simple scraper to gather users' stats from twitter profile.","archived":false,"fork":false,"pushed_at":"2021-08-02T04:33:11.000Z","size":540,"stargazers_count":4,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T00:54:56.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/leny.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}},"created_at":"2019-01-09T22:18:44.000Z","updated_at":"2023-11-18T22:41:24.000Z","dependencies_parsed_at":"2022-08-31T17:02:34.957Z","dependency_job_id":null,"html_url":"https://github.com/leny/twitter-scraper","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Ftwitter-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Ftwitter-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Ftwitter-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Ftwitter-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leny","download_url":"https://codeload.github.com/leny/twitter-scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248689375,"owners_count":21145923,"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":[],"created_at":"2024-11-07T19:37:44.858Z","updated_at":"2025-04-13T09:21:26.245Z","avatar_url":"https://github.com/leny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @leny/twitter-scraper\n\n[![NPM version](http://img.shields.io/npm/v/%40leny%2Ftwitter-scraper.svg)](https://www.npmjs.org/package/%40leny%2Ftwitter-scraper) ![Downloads counter](http://img.shields.io/npm/dm/%40leny%2Ftwitter-scraper.svg)\n\n\u003e A simple scraper to gather users' stats from twitter profile.\n\n* * *\n\n## Usage\n\n### Installation\n\nTo use **@leny/twitter-scraper**, you must at first install it.\n\n    npm install --save @leny/twitter-scraper\n\n### Usage\n\nSimply import and call the function with the twitter username you want to scrap stats.\n\n```javascript\n\timport scraper from \"@leny/twitter-scraper\";\n\t\n\t(async () =\u003e {\n\t\tconst {\n\t\t\ttweets,\n\t\t\tfollowing,\n\t\t\tfollowers,\n\t\t\tfavorites,\n\t\t} = await scraper(\"leny_be\");\n\t})();\n```\n\nThe function returns and object with four properties, which are numbers or `null`, if the parsing fails.\n\n## Contributing\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style.\n\n## License\nCopyright ©2019 Leny  \nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleny%2Ftwitter-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleny%2Ftwitter-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleny%2Ftwitter-scraper/lists"}