blocket-api 0.3.3__tar.gz → 0.3.4__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blocket_api
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: A python API wrapper for blocket.se
5
5
  Author-email: dunderrrrrr <emil.bjorkroth@gmail.com>
6
6
  Requires-Python: >=3.10
@@ -12,12 +12,19 @@ Requires-Dist: pytest>=8.2.2
12
12
  Requires-Dist: respx>=0.21.1
13
13
  Requires-Dist: mypy>=1.15.0
14
14
  Requires-Dist: pydantic>=2.11.7
15
- Requires-Dist: ruff>=0.13.2
15
+ Requires-Dist: mkdocs>=1.6.1
16
+ Requires-Dist: mkdocs-material>=9.6.21
17
+ Requires-Dist: mkdocs-swagger-ui-tag>=0.7.2
18
+ Requires-Dist: ruff>=0.14.1
16
19
  Dynamic: license-file
17
20
 
21
+ <p align="center">
22
+ <img src="https://blocket-api.se/blocket-api.png" />
23
+ </p>
24
+
18
25
  # BlocketAPI
19
26
 
20
- [![PyPI version](https://img.shields.io/pypi/v/blocket_api?style=for-the-badge)](https://pypi.org/project/blocket_api/) [![License](https://img.shields.io/badge/license-WTFPL-green?style=for-the-badge)](https://github.com/dunderrrrrr/blocket_api/blob/main/LICENSE) ![Python](https://img.shields.io/badge/Python-3.10-blue?style=for-the-badge) ![PyPI - Downloads](https://img.shields.io/pypi/dm/blocket_api?style=for-the-badge&color=%23dbce58)
27
+ [![PyPI version](https://img.shields.io/pypi/v/blocket_api?style=for-the-badge)](https://pypi.org/project/blocket_api/) [![License](https://img.shields.io/badge/license-WTFPL-green?style=for-the-badge)](https://github.com/dunderrrrrr/blocket_api/blob/main/LICENSE) ![Python](https://img.shields.io/badge/Python-3.10-blue?style=for-the-badge) ![PyPI - Downloads](https://img.shields.io/pypi/dw/blocket_api?style=for-the-badge&color=%23dbce58)
21
28
 
22
29
  BlocketAPI allows users to query saved searches, known as "Bevakningar", on [blocket.se](https://blocket.se/). This means you can either retrieve results from a specific saved search or list all listings/ads across all saved searches. The results from these queries are returned in a `json` format or as cleaned pydantic objects.
23
30
 
@@ -72,7 +79,7 @@ Some calls require a `bearerToken`. However, some calls are public and don't req
72
79
  | [`api.get_ad_by_id()`](#get_ad_by_id) | 👏 No | Yes | Get ad data from id.
73
80
  | [`api.get_user_by_id()`](#get_user_by_id) | 👏 No | Yes | Get user data from id.
74
81
  | [`api.save_ad()`](#save_ad) | 🔐 Yes | - | Save ad to "Saved ads".
75
- | [`api.get_saved_ads()`](#get_saved_ads) | 🔐 Yes | - | Save ad to "Saved ads".
82
+ | [`api.get_saved_ads()`](#get_saved_ads) | 🔐 Yes | - | List all saved ads.
76
83
 
77
84
 
78
85
  ## 🤓 Detailed usage
@@ -1,6 +1,10 @@
1
+ <p align="center">
2
+ <img src="https://blocket-api.se/blocket-api.png" />
3
+ </p>
4
+
1
5
  # BlocketAPI
2
6
 
3
- [![PyPI version](https://img.shields.io/pypi/v/blocket_api?style=for-the-badge)](https://pypi.org/project/blocket_api/) [![License](https://img.shields.io/badge/license-WTFPL-green?style=for-the-badge)](https://github.com/dunderrrrrr/blocket_api/blob/main/LICENSE) ![Python](https://img.shields.io/badge/Python-3.10-blue?style=for-the-badge) ![PyPI - Downloads](https://img.shields.io/pypi/dm/blocket_api?style=for-the-badge&color=%23dbce58)
7
+ [![PyPI version](https://img.shields.io/pypi/v/blocket_api?style=for-the-badge)](https://pypi.org/project/blocket_api/) [![License](https://img.shields.io/badge/license-WTFPL-green?style=for-the-badge)](https://github.com/dunderrrrrr/blocket_api/blob/main/LICENSE) ![Python](https://img.shields.io/badge/Python-3.10-blue?style=for-the-badge) ![PyPI - Downloads](https://img.shields.io/pypi/dw/blocket_api?style=for-the-badge&color=%23dbce58)
4
8
 
5
9
  BlocketAPI allows users to query saved searches, known as "Bevakningar", on [blocket.se](https://blocket.se/). This means you can either retrieve results from a specific saved search or list all listings/ads across all saved searches. The results from these queries are returned in a `json` format or as cleaned pydantic objects.
6
10
 
@@ -55,7 +59,7 @@ Some calls require a `bearerToken`. However, some calls are public and don't req
55
59
  | [`api.get_ad_by_id()`](#get_ad_by_id) | 👏 No | Yes | Get ad data from id.
56
60
  | [`api.get_user_by_id()`](#get_user_by_id) | 👏 No | Yes | Get user data from id.
57
61
  | [`api.save_ad()`](#save_ad) | 🔐 Yes | - | Save ad to "Saved ads".
58
- | [`api.get_saved_ads()`](#get_saved_ads) | 🔐 Yes | - | Save ad to "Saved ads".
62
+ | [`api.get_saved_ads()`](#get_saved_ads) | 🔐 Yes | - | List all saved ads.
59
63
 
60
64
 
61
65
  ## 🤓 Detailed usage
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blocket_api
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: A python API wrapper for blocket.se
5
5
  Author-email: dunderrrrrr <emil.bjorkroth@gmail.com>
6
6
  Requires-Python: >=3.10
@@ -12,12 +12,19 @@ Requires-Dist: pytest>=8.2.2
12
12
  Requires-Dist: respx>=0.21.1
13
13
  Requires-Dist: mypy>=1.15.0
14
14
  Requires-Dist: pydantic>=2.11.7
15
- Requires-Dist: ruff>=0.13.2
15
+ Requires-Dist: mkdocs>=1.6.1
16
+ Requires-Dist: mkdocs-material>=9.6.21
17
+ Requires-Dist: mkdocs-swagger-ui-tag>=0.7.2
18
+ Requires-Dist: ruff>=0.14.1
16
19
  Dynamic: license-file
17
20
 
21
+ <p align="center">
22
+ <img src="https://blocket-api.se/blocket-api.png" />
23
+ </p>
24
+
18
25
  # BlocketAPI
19
26
 
20
- [![PyPI version](https://img.shields.io/pypi/v/blocket_api?style=for-the-badge)](https://pypi.org/project/blocket_api/) [![License](https://img.shields.io/badge/license-WTFPL-green?style=for-the-badge)](https://github.com/dunderrrrrr/blocket_api/blob/main/LICENSE) ![Python](https://img.shields.io/badge/Python-3.10-blue?style=for-the-badge) ![PyPI - Downloads](https://img.shields.io/pypi/dm/blocket_api?style=for-the-badge&color=%23dbce58)
27
+ [![PyPI version](https://img.shields.io/pypi/v/blocket_api?style=for-the-badge)](https://pypi.org/project/blocket_api/) [![License](https://img.shields.io/badge/license-WTFPL-green?style=for-the-badge)](https://github.com/dunderrrrrr/blocket_api/blob/main/LICENSE) ![Python](https://img.shields.io/badge/Python-3.10-blue?style=for-the-badge) ![PyPI - Downloads](https://img.shields.io/pypi/dw/blocket_api?style=for-the-badge&color=%23dbce58)
21
28
 
22
29
  BlocketAPI allows users to query saved searches, known as "Bevakningar", on [blocket.se](https://blocket.se/). This means you can either retrieve results from a specific saved search or list all listings/ads across all saved searches. The results from these queries are returned in a `json` format or as cleaned pydantic objects.
23
30
 
@@ -72,7 +79,7 @@ Some calls require a `bearerToken`. However, some calls are public and don't req
72
79
  | [`api.get_ad_by_id()`](#get_ad_by_id) | 👏 No | Yes | Get ad data from id.
73
80
  | [`api.get_user_by_id()`](#get_user_by_id) | 👏 No | Yes | Get user data from id.
74
81
  | [`api.save_ad()`](#save_ad) | 🔐 Yes | - | Save ad to "Saved ads".
75
- | [`api.get_saved_ads()`](#get_saved_ads) | 🔐 Yes | - | Save ad to "Saved ads".
82
+ | [`api.get_saved_ads()`](#get_saved_ads) | 🔐 Yes | - | List all saved ads.
76
83
 
77
84
 
78
85
  ## 🤓 Detailed usage
@@ -4,4 +4,7 @@ pytest>=8.2.2
4
4
  respx>=0.21.1
5
5
  mypy>=1.15.0
6
6
  pydantic>=2.11.7
7
- ruff>=0.13.2
7
+ mkdocs>=1.6.1
8
+ mkdocs-material>=9.6.21
9
+ mkdocs-swagger-ui-tag>=0.7.2
10
+ ruff>=0.14.1
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "blocket_api"
3
- version = "0.3.3"
3
+ version = "0.3.4"
4
4
  description = "A python API wrapper for blocket.se"
5
5
  authors = [{name = "dunderrrrrr", email = "emil.bjorkroth@gmail.com"}]
6
6
  readme = "README.md"
@@ -12,7 +12,10 @@ dependencies = [
12
12
  "respx>=0.21.1",
13
13
  "mypy>=1.15.0",
14
14
  "pydantic>=2.11.7",
15
- "ruff>=0.13.2",
15
+ "mkdocs>=1.6.1",
16
+ "mkdocs-material>=9.6.21",
17
+ "mkdocs-swagger-ui-tag>=0.7.2",
18
+ "ruff>=0.14.1",
16
19
  ]
17
20
 
18
21
 
File without changes
File without changes