edent / BMW-i-Remote

A reverse engineered interface for the BMW i3 Electric Car
MIT License
388 stars 60 forks source link

A variation on your theme #1

Closed quentinsf closed 6 years ago

quentinsf commented 8 years ago

Hi Terence -

I've made quite a few changes to your original - it's sufficiently different that you may want to completely ignore it, but I can do a pull request if wanted!

Basically, I've pulled your original tweeting code out into bmwtweet.py and made a more generic 'bmw' module.

You can do things like:

import bmw
c = bmw.ConnectedDrive()
print c.call('/user/vehicles/')

It uses the 'requests' module, so you need to pip install that if you don't already have it.

Anyway, it's at https://github.com/quentinsf/BMW-i-Remote if you're interested. More to come soon.

Thanks again! Quentin

edent commented 8 years ago

Your Python-fu is mightier than mine! Go ahead with a PR :-)