Skip to content

Commit 310f570

Browse files
author
Dustin Engstrom
authored
TNR-2968: Switch to v2 quotes endpoint. (#62)
1 parent cabcad6 commit 310f570

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CHANGELOG
2+
3+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
4+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
6+
## [2.0.0] - 2019-08-10
7+
### Added
8+
- New CHANGELOG.md added.
9+
10+
### Changes
11+
- The `get_quote()` method now utilizes
12+
[v2 of the quotes endpoint](https://connect.vacasait.com/#operation/get-quote-v2).

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='VacasaConnect',
5-
version='1.0.15',
5+
version='2.0.0',
66
description='A Python 3.6+ SDK for the connect.vacasa.com API.',
77
packages=['vacasa.connect'],
88
url='https://github.com/Vacasa/python-vacasa-connect-sdk',

vacasa/connect/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ def get_quote(self,
648648
Returns:
649649
The response object as a dict
650650
"""
651-
url = f"{self.endpoint}/v1/quotes"
651+
url = f"{self.endpoint}/v2/quotes"
652652
headers = self._headers(language, currency)
653653

654654
params = {

0 commit comments

Comments
 (0)