{"id":13936657,"url":"https://github.com/python273/telegraph","last_synced_at":"2025-05-16T10:07:22.991Z","repository":{"id":43774222,"uuid":"76972735","full_name":"python273/telegraph","owner":"python273","description":"Telegraph API wrapper | Telegra.ph","archived":false,"fork":false,"pushed_at":"2024-04-05T09:45:45.000Z","size":56,"stargazers_count":298,"open_issues_count":10,"forks_count":46,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-09T10:46:55.809Z","etag":null,"topics":["api-wrapper","python","telegraph","telegraph-api"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/telegraph/","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/python273.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":"2016-12-20T16:27:07.000Z","updated_at":"2025-04-19T14:55:59.000Z","dependencies_parsed_at":"2024-06-18T13:40:48.062Z","dependency_job_id":"4d9df0c5-4b18-413c-bc3a-cf0035411f15","html_url":"https://github.com/python273/telegraph","commit_stats":{"total_commits":59,"total_committers":9,"mean_commits":6.555555555555555,"dds":0.2542372881355932,"last_synced_commit":"c1d7fe015c8945744583e145fcfa207652599546"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Ftelegraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Ftelegraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Ftelegraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python273%2Ftelegraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python273","download_url":"https://codeload.github.com/python273/telegraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509476,"owners_count":22082891,"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":["api-wrapper","python","telegraph","telegraph-api"],"created_at":"2024-08-07T23:02:53.478Z","updated_at":"2025-05-16T10:07:17.980Z","avatar_url":"https://github.com/python273.png","language":"Python","readme":"# Telegraph\n[![PyPI](https://img.shields.io/pypi/v/telegraph.svg)](https://pypi.python.org/pypi/telegraph)\n![Python Versions](https://img.shields.io/pypi/pyversions/telegraph.svg)\n![License](https://img.shields.io/github/license/python273/telegraph.svg)\n\nPython Telegraph API wrapper\n\n- [Documentation](https://python-telegraph.readthedocs.io/en/latest/)\n\n```bash\n$ python3 -m pip install telegraph\n# with asyncio support\n$ python3 -m pip install 'telegraph[aio]'\n```\n\n## Example\n```python\nfrom telegraph import Telegraph\n\ntelegraph = Telegraph()\ntelegraph.create_account(short_name='1337')\n\nresponse = telegraph.create_page(\n    'Hey',\n    html_content='\u003cp\u003eHello, world!\u003c/p\u003e'\n)\nprint(response['url'])\n```\n\n## Async Example\n```python\nimport asyncio\nfrom telegraph.aio import Telegraph\n\nasync def main():\n    telegraph = Telegraph()\n    print(await telegraph.create_account(short_name='1337'))\n\n    response = await telegraph.create_page(\n        'Hey',\n        html_content='\u003cp\u003eHello, world!\u003c/p\u003e',\n    )\n    print(response['url'])\n\n\nasyncio.run(main())\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython273%2Ftelegraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython273%2Ftelegraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython273%2Ftelegraph/lists"}