Git Product home page Git Product logo

divvybrags2's Introduction

divvybrags2

This is a Chrome extension that lets you scrape, download, chart, and extend your Divvy bikeshare data.

To use it, you need two things:

  1. A Divvy membership. (Get one here: https://divvybikes.com/membership)
  2. The Chrome browser. (Get it here: https://www.google.com/intl/en/chrome/browser/)

Load Divvybrags into your browser as an extension. Then navigate to your Trips page (https://divvybikes.com/account/trips). The extension will create a Divvybrags sidebar with three options: Calculate my Mileage, Download as CSV, and Chart My Data.

Each of the options triggers a javascript function in the background.js file.

Calculate my Mileage queries the Google Distance Matrix API with each of your trips to estimate the mileage logged. It displays high-level stats for the user, adds milage estmates to the CSV downloads, and enables the Chart function. The Google Distance Matrix API has a limit of 2,500 free calls per day, unfortunately.

Download as CSV builds a little CSV representation of your data and sends it to your Downloads folder. If you've calculated mileage, you get that data too.

Chart My Data uses highcharts.js to graph your miles logged per day and cumulative mileage.

Thank you shout-outs

Tip of the hat to @tothebeat for building a big huge file with Divvy Station distances, @hunterowens for the good advice, Dan Gohlke for smart feature ideas, Drew Huening for pointing the way to a browser extension, and @iandees for writing the very first divvybikes.com scraping tool.

divvybrags2's People

Contributors

alexsoble avatar kurtenbachkyle 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.