linguin-api 0.1.0__tar.gz → 0.1.1__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.
- {linguin_api-0.1.0 → linguin_api-0.1.1}/PKG-INFO +8 -8
- {linguin_api-0.1.0 → linguin_api-0.1.1}/README.md +4 -4
- {linguin_api-0.1.0 → linguin_api-0.1.1}/linguin_api/__init__.py +2 -2
- {linguin_api-0.1.0 → linguin_api-0.1.1}/pyproject.toml +3 -3
- {linguin_api-0.1.0 → linguin_api-0.1.1}/.gitignore +0 -0
- {linguin_api-0.1.0 → linguin_api-0.1.1}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: linguin-api
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Official Python client for the Linguin API: multilingual dictionary lookups, reverse dictionary, translation and UI localization.
|
|
5
|
-
Project-URL: Homepage, https://linguin.xyz
|
|
6
|
-
Project-URL: Documentation, https://linguin.xyz
|
|
5
|
+
Project-URL: Homepage, https://linguin.xyz/api
|
|
6
|
+
Project-URL: Documentation, https://linguin.xyz/api/docs
|
|
7
7
|
Project-URL: Repository, https://github.com/theastroscout/linguin-api-py
|
|
8
8
|
Author-email: Linguin <i@surfy.one>
|
|
9
9
|
License-Expression: MIT
|
|
@@ -19,12 +19,12 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
|
|
20
20
|
# Linguin API for Python
|
|
21
21
|
|
|
22
|
-
Official Python client for the [Linguin API](https://linguin.xyz
|
|
22
|
+
Official Python client for the [Linguin API](https://linguin.xyz/api): a multilingual dictionary and translation API. Look up any word or phrase in any language, run a reverse dictionary search, translate text and localize UI strings.
|
|
23
23
|
|
|
24
24
|
No dependencies, Python 3.8+.
|
|
25
25
|
|
|
26
|
-
- Full API reference: [linguin.xyz
|
|
27
|
-
- Get an API key: [linguin.xyz
|
|
26
|
+
- Full API reference: [linguin.xyz/api/docs](https://linguin.xyz/api/docs)
|
|
27
|
+
- Get an API key: [linguin.xyz/account/api](https://linguin.xyz/account/api)
|
|
28
28
|
- JavaScript client: [linguin-api-js](https://github.com/theastroscout/linguin-api-js)
|
|
29
29
|
|
|
30
30
|
## Install
|
|
@@ -114,7 +114,7 @@ linguin.revoke(prefix=new["prefix"]) # revoke one by full value or prefix
|
|
|
114
114
|
|
|
115
115
|
## Errors
|
|
116
116
|
|
|
117
|
-
A non-2xx response raises `LinguinError` with a stable `code` you can switch on, the HTTP `status` and a human `message`. Codes are listed in the [API reference](https://linguin.xyz
|
|
117
|
+
A non-2xx response raises `LinguinError` with a stable `code` you can switch on, the HTTP `status` and a human `message`. Codes are listed in the [API reference](https://linguin.xyz/api/docs).
|
|
118
118
|
|
|
119
119
|
```python
|
|
120
120
|
from linguin_api import Linguin, LinguinError
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Linguin API for Python
|
|
2
2
|
|
|
3
|
-
Official Python client for the [Linguin API](https://linguin.xyz
|
|
3
|
+
Official Python client for the [Linguin API](https://linguin.xyz/api): a multilingual dictionary and translation API. Look up any word or phrase in any language, run a reverse dictionary search, translate text and localize UI strings.
|
|
4
4
|
|
|
5
5
|
No dependencies, Python 3.8+.
|
|
6
6
|
|
|
7
|
-
- Full API reference: [linguin.xyz
|
|
8
|
-
- Get an API key: [linguin.xyz
|
|
7
|
+
- Full API reference: [linguin.xyz/api/docs](https://linguin.xyz/api/docs)
|
|
8
|
+
- Get an API key: [linguin.xyz/account/api](https://linguin.xyz/account/api)
|
|
9
9
|
- JavaScript client: [linguin-api-js](https://github.com/theastroscout/linguin-api-js)
|
|
10
10
|
|
|
11
11
|
## Install
|
|
@@ -95,7 +95,7 @@ linguin.revoke(prefix=new["prefix"]) # revoke one by full value or prefix
|
|
|
95
95
|
|
|
96
96
|
## Errors
|
|
97
97
|
|
|
98
|
-
A non-2xx response raises `LinguinError` with a stable `code` you can switch on, the HTTP `status` and a human `message`. Codes are listed in the [API reference](https://linguin.xyz
|
|
98
|
+
A non-2xx response raises `LinguinError` with a stable `code` you can switch on, the HTTP `status` and a human `message`. Codes are listed in the [API reference](https://linguin.xyz/api/docs).
|
|
99
99
|
|
|
100
100
|
```python
|
|
101
101
|
from linguin_api import Linguin, LinguinError
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Official Python client for the Linguin API (https://api.linguin.xyz).
|
|
3
3
|
|
|
4
4
|
A thin wrapper: one method per endpoint, JSON in and out, no dependencies.
|
|
5
|
-
Full reference: https://linguin.xyz
|
|
5
|
+
Full reference: https://linguin.xyz/api/docs
|
|
6
6
|
|
|
7
7
|
from linguin_api import Linguin
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ import json
|
|
|
15
15
|
import urllib.error
|
|
16
16
|
import urllib.request
|
|
17
17
|
|
|
18
|
-
__version__ = "0.1.
|
|
18
|
+
__version__ = "0.1.1"
|
|
19
19
|
|
|
20
20
|
API_URL = "https://api.linguin.xyz"
|
|
21
21
|
API_VERSION = "2026-06-01"
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "linguin-api"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "Official Python client for the Linguin API: multilingual dictionary lookups, reverse dictionary, translation and UI localization."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -23,8 +23,8 @@ classifiers = [
|
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[project.urls]
|
|
26
|
-
Homepage = "https://linguin.xyz
|
|
27
|
-
Documentation = "https://linguin.xyz
|
|
26
|
+
Homepage = "https://linguin.xyz/api"
|
|
27
|
+
Documentation = "https://linguin.xyz/api/docs"
|
|
28
28
|
Repository = "https://github.com/theastroscout/linguin-api-py"
|
|
29
29
|
|
|
30
30
|
[tool.hatch.build.targets.wheel]
|
|
File without changes
|
|
File without changes
|