Giter Site home page Giter Site logo

audiapi's People

Contributors

andig avatar davidgiga1993 avatar sbidoul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

audiapi's Issues

Current position

Thanks for the Api, nice work!

I'm trying to get the current location of my car, is that in any way supported? The CarFinderService throws:

Exception: API error: {'errorCode': 'CF.security.9007', 'description': 'MBB Roles and Rights responded: 404 - Not Found'}

VehicleStatusReportService - how to use?

Hello,

I am struggling with the VehicleStatusReportService calls.

This is what I tried:

car_service = CarService(api)
vehicles_response = car_service.get_vehicles()
for vehicle in vehicles_response.vehicles:
    print(str(vehicle))
    mycar = vehicle
    
info_service = VehicleStatusReportService(api, mycar)
stored_data = info_service.get_stored_vehicle_data()

print(str(stored_data))

… but that just returns
<audiapi.model.VehicleDataResponse.VehicleDataResponse object at 0x0000028878A92DD8>

Can anyone show an example how to properly request Status data, e.g. range? I was able to use the RemoteTripStatisticsService but can't get the car status report to work.

Best regards and many thanks
Volker

Backend failure

As of a few days ago, I see this message:

Exception: API error: invalid_request
Backend Failure

Is this no longer functional?

Locking/unlocking

Hi David

Thanks for the great library. I was wondering where you got the information on the API to develop this library. I would like to extend it with locking/unlocking, but I'm having a hard time finding out the correct rest calls. Reverse engineering the myaudi calls with mitmproxy unfortunately was no success.

Regards
Arjen

API documentation

Hi,

Does Audi have any API documentation available? Or were did you get this info?

Best regards,
Christian

API caching: Charge state delivers rounded values

For my EV charger andig/evcc I'm polling the API to read battery charge state. It seems that- if polling regularly (5min interval), the API will only return rounded values, i.e. charge state will appear as 20, 25, 30, 35 etc...

Can anyone confirm this observation?

Unable to install audiapi

Hey,

I tried to install the audiapi via pip and pip3, but it didn't work. Can someone help me?

Here are the error messages:

sudo pip install audiapi
Downloading/unpacking audiapi
  Downloading audiapi-1.0.1.tar.gz
  Running setup.py (path:/tmp/pip-build-OTJ080/audiapi/setup.py) egg_info for package audiapi
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)

Installing collected packages: audiapi
  Running setup.py install for audiapi
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
      File "/usr/local/lib/python2.7/dist-packages/audiapi/Services.py", line 12
        class Service(metaclass=ABCMeta):
                               ^
    SyntaxError: invalid syntax

      File "/usr/local/lib/python2.7/dist-packages/audiapi/API.py", line 40
        def use_token(self, token: Token):
                                 ^
    SyntaxError: invalid syntax

      File "/usr/local/lib/python2.7/dist-packages/audiapi/model/ClimaRequest.py", line 15
        def __init__(self, source: str):
                                 ^
    SyntaxError: invalid syntax


Successfully installed audiapi
Cleaning up...

and

sudo pip3 install audiapi
Downloading/unpacking audiapi
  Downloading audiapi-1.0.1-py3-none-any.whl
Installing collected packages: audiapi
*** Error compiling '/tmp/pip-build-nda64r48/audiapi/audiapi/Services.py'...
  File "/tmp/pip-build-nda64r48/audiapi/audiapi/Services.py", line 65
    return super().url(part, **format_data, vin=self._vehicle.vin)
                                          ^
SyntaxError: invalid syntax

Successfully installed audiapi
Cleaning up...

It says, that its installed successfully, but I cant use the api.

Posting on PyPI

I am interested in using this library to integrate my Audi car with Home Assistant. Home Assistant requires any dependencies to be available on PyPI. Would you mind publishing there? I am happy to publish it if you don't mind. Thanks.

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.