mss-python 0.1.3__py3-none-any.whl → 0.1.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mss_python/_version.py ADDED
@@ -0,0 +1,16 @@
1
+ # file generated by setuptools_scm
2
+ # don't change, don't track in version control
3
+ TYPE_CHECKING = False
4
+ if TYPE_CHECKING:
5
+ from typing import Tuple, Union
6
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
7
+ else:
8
+ VERSION_TUPLE = object
9
+
10
+ version: str
11
+ __version__: str
12
+ __version_tuple__: VERSION_TUPLE
13
+ version_tuple: VERSION_TUPLE
14
+
15
+ __version__ = version = '0.1.6'
16
+ __version_tuple__ = version_tuple = (0, 1, 6)
@@ -0,0 +1,100 @@
1
+ Metadata-Version: 2.1
2
+ Name: mss-python
3
+ Version: 0.1.6
4
+ Summary: MSS API wrapper for Python projects
5
+ Author: Rubin Canaj
6
+ Author-email: HGV <development@hgv.it>
7
+ License: MIT License
8
+
9
+ Copyright (c) 2024 Booking Südtirol
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ Project-URL: Repository, https://github.com/bookingsuedtirol/mss-python
30
+ Requires-Python: <4,>=3.7
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+
34
+ # mss-python ![PyPI](https://img.shields.io/pypi/v/mss-python)
35
+
36
+ MSS API client for Python projects
37
+
38
+ <!-- ## Dependencies
39
+
40
+ This library requires an IANA Time Zone database to be present on the operating system (because it uses https://pkg.go.dev/time#LoadLocation). This database comes pre-installed with many Linux distros. If it’s unavailable (such as on Windows), https://pkg.go.dev/time/tzdata can be imported in the main program (which uses mss-go) instead. -->
41
+
42
+ ## Available methods
43
+
44
+ - [x] getHotelList
45
+ - [x] getHotelListByFilter
46
+ - [x] getSpecialList
47
+ - [x] getRoomList
48
+ - [x] getWidgetConfig
49
+ - [x] getBooking
50
+ - [x] cancelBooking
51
+ - [x] prepareBooking
52
+ - [x] getAvailability
53
+ - [x] getRoomAvailability
54
+ - [x] getDayAvailability
55
+ - [x] getPriceList
56
+ - [x] createInquiry
57
+ - [x] getLocationList
58
+ - [x] getThemeList
59
+ - [x] getMasterpackagesList
60
+ - [x] notifyMasterpackages
61
+ - [x] getLastMinuteQuotation
62
+ - [x] validateCoupon
63
+ - [x] getHotelPictures
64
+ - [x] getHotelPictureGroups
65
+ - [x] getOptionalServices
66
+
67
+ ## Example Execution
68
+
69
+ `pip3 install -r requirements.txt`
70
+
71
+ `python3 -m examples.simple.main`
72
+
73
+ <!-- -
74
+
75
+ TODO
76
+
77
+ - [x] getInquiry - how to find booking IDs?
78
+
79
+
80
+ - [x] getUserSources
81
+
82
+ -->
83
+
84
+ <!-- Warning: Only the methods with a ✓ next to them have been tested so far.
85
+
86
+ ## Before running examples/tests
87
+
88
+ Set the environment variables with:
89
+
90
+ ```Bash
91
+ export $(make env)
92
+ ```
93
+
94
+ ## Examples
95
+
96
+ Run `make simple` or `make advanced`
97
+
98
+ ## Tests
99
+
100
+ Run `make test` -->
@@ -1,11 +1,11 @@
1
1
  mss_python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ mss_python/_version.py,sha256=L9DFp_i-1xztMRdin6ZHqLFMlDKUn5bsVgheqXFwTTc,411
2
3
  mss_python/client.py,sha256=DEMAGATE08MW42Ldtepk95RV6funmyyuFbN9XFhiwPk,3202
3
- mss_python/request/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  mss_python/request/method_names.py,sha256=DP22Tra-F86FP-6771q7bDwuX6ojPCidFPzztl4UThI,1030
5
5
  mss_python/request/methods.py,sha256=pu_U6z8ANktuv0r3P6MmLKW66fwRhiDCp261vNxqrYE,664
6
6
  mss_python/request/types_mss.py,sha256=Xq9YYA5-f_j2Gt7bCcHSC6qEzHs0hswpoXm2IGB9SdA,22354
7
- mss_python-0.1.3.dist-info/LICENSE,sha256=SxLvAIuAvi2G5v6pRCopG3gAH9SLL_-xACJ0QBz_Blw,1074
8
- mss_python-0.1.3.dist-info/METADATA,sha256=QHC1KmbqxFdqD8QY-9HHEkc692274XYUHh-AjhUQ1X0,1642
9
- mss_python-0.1.3.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
10
- mss_python-0.1.3.dist-info/top_level.txt,sha256=-5Wm4NpowVgq9ImH61vhAiBQFoE21fg4r-7Pn7mOYyE,11
11
- mss_python-0.1.3.dist-info/RECORD,,
7
+ mss_python-0.1.6.dist-info/LICENSE,sha256=SxLvAIuAvi2G5v6pRCopG3gAH9SLL_-xACJ0QBz_Blw,1074
8
+ mss_python-0.1.6.dist-info/METADATA,sha256=TzDicAzWZKGKD7plNpA3i2QeCSNoav9R9Y5VJwcsB0o,3010
9
+ mss_python-0.1.6.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
10
+ mss_python-0.1.6.dist-info/top_level.txt,sha256=-5Wm4NpowVgq9ImH61vhAiBQFoE21fg4r-7Pn7mOYyE,11
11
+ mss_python-0.1.6.dist-info/RECORD,,
File without changes
@@ -1,81 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: mss-python
3
- Version: 0.1.3
4
- Summary: MSS API wrapper for Python projects
5
- Home-page: https://github.com/bookingsuedtirol/mss-python
6
- Requires-Python: >=3.7, <4
7
- Description-Content-Type: text/markdown
8
- License-File: LICENSE
9
-
10
- # mss-python
11
-
12
- MSS API client for Python projects
13
-
14
- <!-- ## Dependencies
15
-
16
- This library requires an IANA Time Zone database to be present on the operating system (because it uses https://pkg.go.dev/time#LoadLocation). This database comes pre-installed with many Linux distros. If it’s unavailable (such as on Windows), https://pkg.go.dev/time/tzdata can be imported in the main program (which uses mss-go) instead. -->
17
-
18
- ## Available methods
19
-
20
- - [x] getHotelList
21
- - [x] getHotelListByFilter
22
- - [x] getSpecialList
23
- - [x] getRoomList
24
- - [x] getWidgetConfig
25
- - [x] getBooking
26
- - [x] cancelBooking
27
- - [x] prepareBooking
28
- - [x] getAvailability
29
- - [x] getRoomAvailability
30
- - [x] getDayAvailability
31
- - [x] getPriceList
32
- - [x] createInquiry
33
- - [x] getLocationList
34
- - [x] getThemeList
35
- - [x] getMasterpackagesList
36
- - [x] notifyMasterpackages
37
- - [x] getLastMinuteQuotation
38
- - [x] validateCoupon
39
- - [x] getHotelPictures
40
- - [x] getHotelPictureGroups
41
- - [x] getOptionalServices
42
-
43
-
44
- ## Example Execution
45
-
46
- `cd ./examples/simple`
47
-
48
- `python3 main.py`
49
-
50
- or
51
-
52
- `python3 -m main`
53
-
54
- <!-- -
55
-
56
- TODO
57
-
58
- - [x] getInquiry - how to find booking IDs?
59
-
60
-
61
- - [x] getUserSources
62
-
63
- -->
64
-
65
- <!-- Warning: Only the methods with a ✓ next to them have been tested so far.
66
-
67
- ## Before running examples/tests
68
-
69
- Set the environment variables with:
70
-
71
- ```Bash
72
- export $(make env)
73
- ```
74
-
75
- ## Examples
76
-
77
- Run `make simple` or `make advanced`
78
-
79
- ## Tests
80
-
81
- Run `make test` -->