Skip to content

codingogre/pelastic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using the Pelastic tool

Download

https://github.com/codingogre/pelastic/archive/master.zip

Configuration

Pelastic requires a configuration file, where the path (including file) is either pulled from the environment variable PELASTIC_CONFIG, or looked for in the hard-coded ~/.config/pelastic.ini

Example on Apple OS X. Open the Terminal.app and enter the following

export PELASTIC_CONFIG=$HOME/pelastic.ini

Example on Windows. Open Powershell and enter the following

[Environment]::SetEnvironmentVariable("PELASTIC_CONFIG", "C:\Users\wutan\pelastic.ini", "User")

Example Configuration File

[peloton]
username = Your_Peloton_Username_Or_Email
password = Your_Peloton_Password

[elastic]
id = Your_Elastic_Cloud_ID
username = Your_Elastic_Cluster_Username
password = Your_Elastic_Cluster_Password

Example Usage

Open the Terminal.app on Apple OS X and navigate to the folder where pelastic is downloaded

./pelastic.py

Open Powershell on Windows

python pelastic.py

About

A Python script that ingests all of your Peloton workouts into the Elasticsearch Search Service

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%