{"id":20971225,"url":"https://github.com/amanoteam/python-getids","last_synced_at":"2025-04-23T04:37:19.024Z","repository":{"id":225878471,"uuid":"290117926","full_name":"AmanoTeam/python-getids","owner":"AmanoTeam","description":"GetIDs Telegram account age calculation for Python","archived":false,"fork":false,"pushed_at":"2023-01-18T05:55:20.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T12:26:04.235Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmanoTeam.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}},"created_at":"2020-08-25T05:02:49.000Z","updated_at":"2025-01-24T06:11:05.000Z","dependencies_parsed_at":"2024-03-04T19:55:33.439Z","dependency_job_id":"3e6b1e34-a85c-4fb9-ae65-70322c55e4be","html_url":"https://github.com/AmanoTeam/python-getids","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"6b8a96b67c113a67272d42d18cfafe415166469a"},"previous_names":["amanoteam/python-getids"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanoTeam%2Fpython-getids","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanoTeam%2Fpython-getids/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanoTeam%2Fpython-getids/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanoTeam%2Fpython-getids/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmanoTeam","download_url":"https://codeload.github.com/AmanoTeam/python-getids/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372595,"owners_count":21419719,"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":["telegram"],"created_at":"2024-11-19T04:01:01.803Z","updated_at":"2025-04-23T04:37:18.977Z","avatar_url":"https://github.com/AmanoTeam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python GetIDs\n=============\n\nThis is a Python port of the GetIDs engine that calculates the date of\ncreation for Telegram accounts using known creation dates.\n\nThe original repository can be found\n`here \u003chttps://github.com/wjclub/telegram-bot-getids\u003e`__.\n\nInstallation\n------------\n\n.. code:: bash\n\n   $ pip install -U getids\n\nUsage\n-----\n\nYou can use the package in two ways:\n\nInteractively\n~~~~~~~~~~~~~\n\n.. code:: bash\n\n   $ python -m getids 1234567 200097591 2000000000\n\nExpected output:\n^^^^^^^^^^^^^^^^\n\n.. code:: text\n\n   1234567: older_than 10/2013\n   200097591: aprox 5/2016\n   2000000000: newer_than 10/2021\n\nFrom python code\n~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n   \u003e\u003e\u003e from getids import get_date_as_string, get_date_as_datetime\n   \u003e\u003e\u003e\n   \u003e\u003e\u003e get_date_as_string(1234567)\n   ('older_than', '10/2013')\n   \u003e\u003e\u003e get_date_as_string(200097591)\n   ('aprox', '5/2016')\n   \u003e\u003e\u003e get_date_as_string(2000000000)\n   ('newer_than', '10/2021')\n   \u003e\u003e\u003e\n   \u003e\u003e\u003e get_date_as_datetime(1234567)\n   (-1, datetime.datetime(2013, 10, 31, 22, 0))\n   \u003e\u003e\u003e get_date_as_datetime(200097591)\n   (0, datetime.datetime(2016, 5, 6, 17, 25, 6))\n   \u003e\u003e\u003e get_date_as_datetime(2000000000)\n   (1, datetime.datetime(2021, 10, 11, 21, 53, 20))\n\nNote: The ``get_date_as_datetime`` function is seen as a low-level\nfunction, since it returns a specific date, which is not wanted in\nmost cases, since the date is not accurate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famanoteam%2Fpython-getids","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famanoteam%2Fpython-getids","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famanoteam%2Fpython-getids/lists"}