{"id":21840068,"url":"https://github.com/mpomar/stravatotelegram","last_synced_at":"2025-03-21T15:29:16.322Z","repository":{"id":212912875,"uuid":"732501915","full_name":"mpomar/StravaToTelegram","owner":"mpomar","description":"Integrating Strava data into Telegram.","archived":false,"fork":false,"pushed_at":"2023-12-17T08:16:06.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T10:45:43.993Z","etag":null,"topics":["sport","sports","strava","strava-api","strava-data","strava-oauth","telegram","telegram-api","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpomar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-16T22:07:42.000Z","updated_at":"2023-12-17T08:04:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"85e54db8-cb87-4e37-983b-09c656ae2871","html_url":"https://github.com/mpomar/StravaToTelegram","commit_stats":null,"previous_names":["mpomar/stravatotelegram"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpomar%2FStravaToTelegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpomar%2FStravaToTelegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpomar%2FStravaToTelegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpomar%2FStravaToTelegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpomar","download_url":"https://codeload.github.com/mpomar/StravaToTelegram/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244822202,"owners_count":20516051,"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":["sport","sports","strava","strava-api","strava-data","strava-oauth","telegram","telegram-api","telegram-bot","telegram-bot-api"],"created_at":"2024-11-27T21:22:21.937Z","updated_at":"2025-03-21T15:29:16.297Z","avatar_url":"https://github.com/mpomar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003c!-- PROJECT SHIELDS --\u003e\n[![Language][language-shield]][language-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![LinkedIn][linkedin-shield]][linkedin-url]\n[![Twitter][twitter-shield]][twitter-url]\n\n\u003c!-- PROJECT LOGO \u0026 HEADER --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mpomar/StravaToTelegram\"\u003e\n    \u003cimg src=\"https://em-content.zobj.net/source/microsoft-teams/337/person-biking_1f6b4.png\" alt=\"Logo\" width=\"80\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eStrava To Telegram\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Integrating Strava data into Telegram!\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003c!-- BODY --\u003e\n## About The Project\n\nThis script enables you to retrieve Strava data within a Telegram bot. Currently,it fetches activity data through the API but can easily be expanded to include other data tables within the Strava application.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Prerequisites\n\n* Install Python and add to PATH\n* Create and activate virtual environment\n* Clone or download the repository\n* Install all dependencies \n* Create a Strava app from [this link](https://www.strava.com/settings/api) to get your Client ID and Secret\n* Make sure to set `localhost` as Authorization Callback Domain\n* Get your API ID and API hash from [Telegram](https://my.telegram.org) \n* Create a Telegram bot with [Botfather](https://t.me/BotFather) to get its bot token\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Usage\n\n* Define the required variables in config.py\n* Run main.py to launch the bot\n* Visit the Strava link to authorize the app and copy the authorization code included in the callback URL\n* Enter the authorization code copied from the callback URL\n* Start the conversation with your bot using `/start`\n* Use `/activities` to receive the activity data on Telegram\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Contributing\n\nAny contributions are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request:\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request \n\nYou can also simply open an issue with the tag \"enhancement\".\n\nDon't forget to give the project a star! 🌟\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Contact\n\nM. Pomar - [@deliverymgt](https://twitter.com/deliverymgt) - m.pomar@outlook.com\n\nProject Link: [https://github.com/mpomar/StravaToTelegram](https://github.com/mpomar/StravaToTelegram)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Acknowledgments\n\n\n* [Strava](https://strava.com/)\n* [Telegram](https://telegram.org/)\n* [Shields.io](https://shields.io)\n* [Best-README-Template](https://github.com/othneildrew/Best-README-Template)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n[language-shield]: https://img.shields.io/github/languages/top/mpomar/StravaToTelegram?style=for-the-badge\n[language-url]: https://github.com/mpomar/StravaToTelegram\n[forks-shield]: https://img.shields.io/github/forks/mpomar/StravaToTelegram?style=for-the-badge\n[forks-url]: https://github.com/mpomar/StravaToTelegram/network/members\n[stars-shield]: https://img.shields.io/github/stars/mpomar/StravaToTelegram?style=for-the-badge\n[stars-url]: https://github.com/mpomar/StravaToTelegram/stargazers\n[issues-shield]: https://img.shields.io/github/issues/mpomar/StravaToTelegram?style=for-the-badge\n[issues-url]: https://github.com/mpomar/StravaToTelegram/issues\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=555\n[linkedin-url]: https://linkedin.com/in/manfredipomar\n[twitter-shield]: https://img.shields.io/badge/-Twitter-black.svg?style=for-the-badge\u0026logo=twitter\u0026colorB=555\n[twitter-url]: https://twitter.com/deliverymgt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpomar%2Fstravatotelegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpomar%2Fstravatotelegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpomar%2Fstravatotelegram/lists"}