{"id":13988599,"url":"https://github.com/Poolitzer/usernameToChatAPI","last_synced_at":"2025-07-22T09:31:19.405Z","repository":{"id":52643760,"uuid":"355073159","full_name":"Poolitzer/usernameToChatAPI","owner":"Poolitzer","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-03T10:09:38.000Z","size":67,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T16:25:32.237Z","etag":null,"topics":["telegram"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Poolitzer.png","metadata":{"files":{"readme":"README.rst","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":"2021-04-06T05:56:10.000Z","updated_at":"2025-04-06T04:22:02.000Z","dependencies_parsed_at":"2025-02-19T19:34:10.238Z","dependency_job_id":"6a48d9b9-9428-45c9-a98a-c3dcad5a4d09","html_url":"https://github.com/Poolitzer/usernameToChatAPI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Poolitzer/usernameToChatAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Poolitzer%2FusernameToChatAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Poolitzer%2FusernameToChatAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Poolitzer%2FusernameToChatAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Poolitzer%2FusernameToChatAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Poolitzer","download_url":"https://codeload.github.com/Poolitzer/usernameToChatAPI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Poolitzer%2FusernameToChatAPI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266465062,"owners_count":23933053,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["telegram"],"created_at":"2024-08-09T13:01:15.582Z","updated_at":"2025-07-22T09:31:19.002Z","avatar_url":"https://github.com/Poolitzer.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"=================\nUsernameToChatAPI\n=================\n\nThis project aims to give telegram bot developers an easy way to get Chat objects for usernames. The documentation\nfor the API itself lies in textRoutes.\n\nThis project is very much in an early alpha phase and should not be used in production.\n\nA running instance can be found at https://usernameToChatAPI.de\n\n=====================\nRun your own instance\n=====================\n\nAll you need to do is change the api id and hash in api_keys.py, as well as LOG_ID in the log.py file. I recommend inserting\na joinchat link there. The first account you enter needs to be able to write there.\nYou also need to change the api keys, and you could change the owner insert in textRoutes.\nThen install the requirements and run main :)\n\nThe first time you run main, the call will ask you for a phone number. This will be the telegram account used for getting\nthe user_id from telegram. You can add more then one account, for that, change the CLIENT constant in main.py. The more\naccounts you enter, the better can the server mitigate FloodWait errors.\n\n============\nContributing\n============\n\nThanks for thinking about this. I use black and mypy for code quality, and I adhere to the CSI standard for commenting:\nhttps://standards.mousepawmedia.com/csi.html. If you want to add something to this project, just open an issue and get\nthe ok first, I would hate for you to waste time if I think it doesn't fit.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPoolitzer%2FusernameToChatAPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPoolitzer%2FusernameToChatAPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPoolitzer%2FusernameToChatAPI/lists"}