Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRIPIT-48011 [Parking Trip Item: update API v1 bindings - Python] #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions tripit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 })

Expand Down Expand Up @@ -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 })

Expand Down Expand Up @@ -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 })

Expand Down