From e07e4648daa104cc3579a657f48aa7fc8da529fc Mon Sep 17 00:00:00 2001 From: Damien Poulain Date: Mon, 5 Jan 2015 09:34:18 -0800 Subject: [PATCH] TRIPIT-48011 [Parking Trip Item: update API v1 bindings - Python] --- tripit.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tripit.py b/tripit.py index 9fdca72..0f763e6 100644 --- a/tripit.py +++ b/tripit.py @@ -404,6 +404,9 @@ def get_lodging(self, id): def get_car(self, id): return self._parse_command({ 'id' : id }) + def get_parking(self, id): + return self._parse_command({ 'id' : id }) + def get_points_program(self, id): return self._parse_command({ 'id' : id }) @@ -446,6 +449,9 @@ def delete_lodging(self, id): def delete_car(self, id): return self._parse_command({ 'id' : id }) + def delete_parking(self, id): + return self._parse_command({ 'id' : id }) + def delete_rail(self, id): return self._parse_command({ 'id' : id }) @@ -482,6 +488,9 @@ def replace_lodging(self, id, xml): def replace_car(self, id, xml): return self._parse_command({ 'id' : id, 'xml' : xml }) + def replace_parking(self, id, xml): + return self._parse_command({ 'id' : id, 'xml' : xml }) + def replace_rail(self, id, xml): return self._parse_command({ 'id' : id, 'xml' : xml })