mss-python 0.1.3__py3-none-any.whl → 0.1.5__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.5'
16
+ __version_tuple__ = version_tuple = (0, 1, 5)
@@ -0,0 +1,99 @@
1
+ Metadata-Version: 2.1
2
+ Name: mss-python
3
+ Version: 0.1.5
4
+ Summary: MSS API wrapper for Python projects
5
+ Author-email: HGV <development@hgv.it>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2024 Booking Südtirol
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Repository, https://github.com/bookingsuedtirol/mss-python
29
+ Requires-Python: <4,>=3.7
30
+ Description-Content-Type: text/markdown
31
+ License-File: LICENSE
32
+
33
+ # mss-python
34
+
35
+ MSS API client for Python projects
36
+
37
+ <!-- ## Dependencies
38
+
39
+ 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. -->
40
+
41
+ ## Available methods
42
+
43
+ - [x] getHotelList
44
+ - [x] getHotelListByFilter
45
+ - [x] getSpecialList
46
+ - [x] getRoomList
47
+ - [x] getWidgetConfig
48
+ - [x] getBooking
49
+ - [x] cancelBooking
50
+ - [x] prepareBooking
51
+ - [x] getAvailability
52
+ - [x] getRoomAvailability
53
+ - [x] getDayAvailability
54
+ - [x] getPriceList
55
+ - [x] createInquiry
56
+ - [x] getLocationList
57
+ - [x] getThemeList
58
+ - [x] getMasterpackagesList
59
+ - [x] notifyMasterpackages
60
+ - [x] getLastMinuteQuotation
61
+ - [x] validateCoupon
62
+ - [x] getHotelPictures
63
+ - [x] getHotelPictureGroups
64
+ - [x] getOptionalServices
65
+
66
+ ## Example Execution
67
+
68
+ `pip install -r requirements.txt`
69
+
70
+ `python3 -m examples.simple.main`
71
+
72
+ <!-- -
73
+
74
+ TODO
75
+
76
+ - [x] getInquiry - how to find booking IDs?
77
+
78
+
79
+ - [x] getUserSources
80
+
81
+ -->
82
+
83
+ <!-- Warning: Only the methods with a ✓ next to them have been tested so far.
84
+
85
+ ## Before running examples/tests
86
+
87
+ Set the environment variables with:
88
+
89
+ ```Bash
90
+ export $(make env)
91
+ ```
92
+
93
+ ## Examples
94
+
95
+ Run `make simple` or `make advanced`
96
+
97
+ ## Tests
98
+
99
+ Run `make test` -->
@@ -1,11 +1,11 @@
1
1
  mss_python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ mss_python/_version.py,sha256=zBVX2byWL6NrFlwjvahpnvSqDsdtebZW0K9WM_cj20U,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.5.dist-info/LICENSE,sha256=SxLvAIuAvi2G5v6pRCopG3gAH9SLL_-xACJ0QBz_Blw,1074
8
+ mss_python-0.1.5.dist-info/METADATA,sha256=aO07SxQLcvrmeqVC3Gxs7cYpdDnQdjvID3iGukxntRc,2939
9
+ mss_python-0.1.5.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
10
+ mss_python-0.1.5.dist-info/top_level.txt,sha256=-5Wm4NpowVgq9ImH61vhAiBQFoE21fg4r-7Pn7mOYyE,11
11
+ mss_python-0.1.5.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` -->