Skip to content

What does "scenario" provide? #16

@hmmbob

Description

@hmmbob

Hi Mike,

I'm playing around with the Picnic home assistant integration and it's using your API package to communicate with picnic. What isn't in there, is anything with the scenario and position that you actually provide in the package. Can you elaborate what data is in there? Is that containing the route and accurate position of the vehicle?

def get_delivery_scenario(self, delivery_id: str):
path = "/deliveries/" + delivery_id + "/scenario"
return self._get(path, add_picnic_headers=True)
def get_delivery_position(self, delivery_id: str):
path = "/deliveries/" + delivery_id + "/position"
return self._get(path, add_picnic_headers=True)

Tx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions