Git Product home page Git Product logo

stravatotelegram's Introduction

Language Forks Stargazers Issues LinkedIn Twitter


Logo

Strava To Telegram

Integrating Strava data into Telegram!

Table of Contents
  1. About The Project
  2. Prerequisites
  3. Usage
  4. Contributing
  5. Contact
  6. Acknowledgments

About The Project

This 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.

(back to top)

Prerequisites

  • Install Python and add to PATH
  • Create and activate virtual environment
  • Clone or download the repository
  • Install all dependencies
  • Create a Strava app from this link to get your Client ID and Secret
  • Make sure to set localhost as Authorization Callback Domain
  • Get your API ID and API hash from Telegram
  • Create a Telegram bot with Botfather to get its bot token

(back to top)

Usage

  • Define the required variables in config.py
  • Run main.py to launch the bot
  • Visit the Strava link to authorize the app and copy the authorization code included in the callback URL
  • Enter the authorization code copied from the callback URL
  • Start the conversation with your bot using /start
  • Use /activities to receive the activity data on Telegram

(back to top)

Contributing

Any contributions are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

You can also simply open an issue with the tag "enhancement".

Don't forget to give the project a star! ๐ŸŒŸ

(back to top)

Contact

M. Pomar - @deliverymgt - [email protected]

Project Link: https://github.com/mpomar/StravaToTelegram

(back to top)

Acknowledgments

(back to top)

stravatotelegram's People

Contributors

mpomar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.