API to get logger formulas

#1

I’ve been trying to download my loggers. Looking at https://api.autopi.io/ I believe I should be able to use GET /obd/pids/ but this always returns missing device parameter -


Is there an issue with this API ?

Thanks.

#2

Hi Peter

It seems that the API documentation is missing the device parameter, this is of course an error in the documentation.

If you add the device parameter to the query string, you should be able to call the endpoint.

Best regards
/Malte

#3

Thanks. But I still see -

curl --silent --header 'Content-Type: application/json' --header 'Authorization: bearer xxx' 'https://api.autopi.io/obd/pids/?device_id=yyy'

["missing device parameter"]

( real auth & deviceid removed )

#4

Hi Peter

The device parameter is just “device”, so like this instead.

https://api.autopi.io/obd/pids/?device=yyy

br
/Malte

1 Like
#5

Great, thanks, that works.