{"id":16725162,"url":"https://github.com/apollo-roboto/twitterraffle","last_synced_at":"2025-06-21T07:35:43.269Z","repository":{"id":92787518,"uuid":"550558717","full_name":"Apollo-Roboto/TwitterRaffle","owner":"Apollo-Roboto","description":"Command line utility to list or get a random user for twitter raffles","archived":false,"fork":false,"pushed_at":"2022-10-16T00:22:17.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T11:38:56.223Z","etag":null,"topics":["cli","python","python3","raffle","twitter"],"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/Apollo-Roboto.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-10-13T00:58:57.000Z","updated_at":"2022-10-13T04:59:10.000Z","dependencies_parsed_at":"2023-08-22T20:54:39.156Z","dependency_job_id":null,"html_url":"https://github.com/Apollo-Roboto/TwitterRaffle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Apollo-Roboto/TwitterRaffle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo-Roboto%2FTwitterRaffle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo-Roboto%2FTwitterRaffle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo-Roboto%2FTwitterRaffle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo-Roboto%2FTwitterRaffle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Apollo-Roboto","download_url":"https://codeload.github.com/Apollo-Roboto/TwitterRaffle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo-Roboto%2FTwitterRaffle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261085606,"owners_count":23107566,"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":["cli","python","python3","raffle","twitter"],"created_at":"2024-10-12T22:48:05.300Z","updated_at":"2025-06-21T07:35:38.255Z","avatar_url":"https://github.com/Apollo-Roboto.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter Raffle\n\nThis is a little command line utility to get a random user for twitter raffles.\n\n## How to use\n\nCreate a `.env` file containing the twitter developer token and credentials. You can get those\ncredentials on the [Twitter Developer Portal](https://developer.twitter.com/).\n\n```env\nAPP_ID=\nAPI_KEY=\nAPI_KEY_SECRET=\nBEARER_TOKEN=\n```\n\nExamples:\n```bash\npython ./src/main.py --id=\"\u003ctweet_id\u003e\" --conditions=\"like\" list\npython ./src/main.py --id=\"\u003ctweet_id\u003e\" --conditions=\"like retweet\" pick\npython ./src/main.py --id=\"\u003ctweet_id\u003e\" --conditions=\"like retweet reply\" list --out=\"csv\"\n```\n\n### Modes\n\n`list`: Lists all the user matching the conditions of the raffle.\n\n`pick`: Pick one random user from the list of users matching the conditions of the raffle.\n\n### Parameters\n\n`id`: required, The tweet id, you can find it at the end of the tweet url.\n\n`conditions`: required, Conditions of the raffle, current options are `like`, `retweet` and `reply`.\n**WARNING**, `reply` is limited to user replies from the last 7 days.\n\n`out`: Chosses the output format for the list , options: `json`, `csv`, `stdout`.\n\n`file`: File path for the user list (when `out` is not `stdout`).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapollo-roboto%2Ftwitterraffle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapollo-roboto%2Ftwitterraffle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapollo-roboto%2Ftwitterraffle/lists"}