surfaceapi 0.1.1__tar.gz → 0.1.3__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.
- surfaceapi-0.1.3/PKG-INFO +75 -0
- surfaceapi-0.1.3/README.md +61 -0
- {surfaceapi-0.1.1 → surfaceapi-0.1.3}/pyproject.toml +3 -3
- surfaceapi-0.1.3/surfaceapi.egg-info/PKG-INFO +75 -0
- {surfaceapi-0.1.1 → surfaceapi-0.1.3}/surfaceapi.egg-info/SOURCES.txt +1 -0
- surfaceapi-0.1.1/PKG-INFO +0 -40
- surfaceapi-0.1.1/README.md +0 -26
- surfaceapi-0.1.1/surfaceapi.egg-info/PKG-INFO +0 -40
- {surfaceapi-0.1.1 → surfaceapi-0.1.3}/LICENSE +0 -0
- {surfaceapi-0.1.1 → surfaceapi-0.1.3}/setup.cfg +0 -0
- {surfaceapi-0.1.1 → surfaceapi-0.1.3}/surfaceapi/__init__.py +0 -0
- {surfaceapi-0.1.1 → surfaceapi-0.1.3}/surfaceapi.egg-info/dependency_links.txt +0 -0
- {surfaceapi-0.1.1 → surfaceapi-0.1.3}/surfaceapi.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: surfaceapi
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. Free for the first million requests a month.
|
|
5
|
+
Author-email: Surface / Canada Site Ops <canada.site.ops@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://nova-otter-delta-cloud.grok.me
|
|
8
|
+
Project-URL: Documentation, https://nova-otter-delta-cloud.grok.me/docs
|
|
9
|
+
Keywords: surface,short-link,unwrap,link-check,preflight,mcp,agents
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Dynamic: license-file
|
|
14
|
+
|
|
15
|
+
# Surface
|
|
16
|
+
|
|
17
|
+
Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. A hop or a 1×1 pixel counts the same way, with no install. Free for the first million requests a month. https://nova-otter-delta-cloud.grok.me
|
|
18
|
+
|
|
19
|
+
Surface by Canada Site Ops. Ontario, Canada.
|
|
20
|
+
|
|
21
|
+
## Get a free API key in about 10 seconds
|
|
22
|
+
|
|
23
|
+
No email, no card. Then set it on every call as `Authorization: Bearer <key>` or `X-Surface-Key: <key>`.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys
|
|
27
|
+
# returns {"key","created_at","free_monthly":1000000,"usage_url"}
|
|
28
|
+
export SURFACE_API_KEY=... # paste the key value
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
A key gets its own million free requests a month. Anonymous calls still work on a shared demo limit.
|
|
32
|
+
|
|
33
|
+
## One install for Cursor or Claude (MCP)
|
|
34
|
+
|
|
35
|
+
Tool: `preflight_url`. Mint a key first, then paste this into your MCP settings:
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"mcpServers": {
|
|
40
|
+
"surface": {
|
|
41
|
+
"type": "http",
|
|
42
|
+
"url": "https://nova-otter-delta-cloud.grok.me/mcp",
|
|
43
|
+
"headers": {
|
|
44
|
+
"Authorization": "Bearer REPLACE_WITH_YOUR_KEY"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Python
|
|
52
|
+
|
|
53
|
+
`pip install surfaceapi`
|
|
54
|
+
|
|
55
|
+
```python
|
|
56
|
+
from surfaceapi import Surface
|
|
57
|
+
key = Surface().create_key().get("key") # free key in ~10 seconds
|
|
58
|
+
s = Surface(api_key=key)
|
|
59
|
+
print(s.preflight("https://youtu.be/jNQXAC9IVRw")) # next: fetch or skip
|
|
60
|
+
print(s.inspect())
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Or set `SURFACE_API_KEY` after the curl above.
|
|
64
|
+
|
|
65
|
+
JavaScript: `npm install @surfaceapi/surface`
|
|
66
|
+
|
|
67
|
+
## Also listed
|
|
68
|
+
|
|
69
|
+
- Official MCP Registry: `me.grok.nova-otter-delta-cloud/surface`
|
|
70
|
+
- https://www.curatedmcp.com/marketplace/surface
|
|
71
|
+
- https://www.npmjs.com/package/@surfaceapi/surface
|
|
72
|
+
- https://pypi.org/project/surfaceapi/
|
|
73
|
+
- https://huggingface.co/spaces/surfaceapi/surface-preflight
|
|
74
|
+
|
|
75
|
+
MCP at `/mcp` (tool `preflight_url`). CLI and GitHub Action are coming soon.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Surface
|
|
2
|
+
|
|
3
|
+
Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. A hop or a 1×1 pixel counts the same way, with no install. Free for the first million requests a month. https://nova-otter-delta-cloud.grok.me
|
|
4
|
+
|
|
5
|
+
Surface by Canada Site Ops. Ontario, Canada.
|
|
6
|
+
|
|
7
|
+
## Get a free API key in about 10 seconds
|
|
8
|
+
|
|
9
|
+
No email, no card. Then set it on every call as `Authorization: Bearer <key>` or `X-Surface-Key: <key>`.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys
|
|
13
|
+
# returns {"key","created_at","free_monthly":1000000,"usage_url"}
|
|
14
|
+
export SURFACE_API_KEY=... # paste the key value
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
A key gets its own million free requests a month. Anonymous calls still work on a shared demo limit.
|
|
18
|
+
|
|
19
|
+
## One install for Cursor or Claude (MCP)
|
|
20
|
+
|
|
21
|
+
Tool: `preflight_url`. Mint a key first, then paste this into your MCP settings:
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{
|
|
25
|
+
"mcpServers": {
|
|
26
|
+
"surface": {
|
|
27
|
+
"type": "http",
|
|
28
|
+
"url": "https://nova-otter-delta-cloud.grok.me/mcp",
|
|
29
|
+
"headers": {
|
|
30
|
+
"Authorization": "Bearer REPLACE_WITH_YOUR_KEY"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Python
|
|
38
|
+
|
|
39
|
+
`pip install surfaceapi`
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
from surfaceapi import Surface
|
|
43
|
+
key = Surface().create_key().get("key") # free key in ~10 seconds
|
|
44
|
+
s = Surface(api_key=key)
|
|
45
|
+
print(s.preflight("https://youtu.be/jNQXAC9IVRw")) # next: fetch or skip
|
|
46
|
+
print(s.inspect())
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Or set `SURFACE_API_KEY` after the curl above.
|
|
50
|
+
|
|
51
|
+
JavaScript: `npm install @surfaceapi/surface`
|
|
52
|
+
|
|
53
|
+
## Also listed
|
|
54
|
+
|
|
55
|
+
- Official MCP Registry: `me.grok.nova-otter-delta-cloud/surface`
|
|
56
|
+
- https://www.curatedmcp.com/marketplace/surface
|
|
57
|
+
- https://www.npmjs.com/package/@surfaceapi/surface
|
|
58
|
+
- https://pypi.org/project/surfaceapi/
|
|
59
|
+
- https://huggingface.co/spaces/surfaceapi/surface-preflight
|
|
60
|
+
|
|
61
|
+
MCP at `/mcp` (tool `preflight_url`). CLI and GitHub Action are coming soon.
|
|
@@ -3,8 +3,8 @@ requires = ["setuptools>=61"]
|
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
[project]
|
|
5
5
|
name = "surfaceapi"
|
|
6
|
-
version = "0.1.
|
|
7
|
-
description = "
|
|
6
|
+
version = "0.1.3"
|
|
7
|
+
description = "Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. Free for the first million requests a month."
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
requires-python = ">=3.8"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -12,4 +12,4 @@ authors = [{name = "Surface / Canada Site Ops", email = "canada.site.ops@gmail.c
|
|
|
12
12
|
keywords = ["surface", "short-link", "unwrap", "link-check", "preflight", "mcp", "agents"]
|
|
13
13
|
[project.urls]
|
|
14
14
|
Homepage = "https://nova-otter-delta-cloud.grok.me"
|
|
15
|
-
|
|
15
|
+
Documentation = "https://nova-otter-delta-cloud.grok.me/docs"
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: surfaceapi
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. Free for the first million requests a month.
|
|
5
|
+
Author-email: Surface / Canada Site Ops <canada.site.ops@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://nova-otter-delta-cloud.grok.me
|
|
8
|
+
Project-URL: Documentation, https://nova-otter-delta-cloud.grok.me/docs
|
|
9
|
+
Keywords: surface,short-link,unwrap,link-check,preflight,mcp,agents
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Dynamic: license-file
|
|
14
|
+
|
|
15
|
+
# Surface
|
|
16
|
+
|
|
17
|
+
Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. A hop or a 1×1 pixel counts the same way, with no install. Free for the first million requests a month. https://nova-otter-delta-cloud.grok.me
|
|
18
|
+
|
|
19
|
+
Surface by Canada Site Ops. Ontario, Canada.
|
|
20
|
+
|
|
21
|
+
## Get a free API key in about 10 seconds
|
|
22
|
+
|
|
23
|
+
No email, no card. Then set it on every call as `Authorization: Bearer <key>` or `X-Surface-Key: <key>`.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys
|
|
27
|
+
# returns {"key","created_at","free_monthly":1000000,"usage_url"}
|
|
28
|
+
export SURFACE_API_KEY=... # paste the key value
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
A key gets its own million free requests a month. Anonymous calls still work on a shared demo limit.
|
|
32
|
+
|
|
33
|
+
## One install for Cursor or Claude (MCP)
|
|
34
|
+
|
|
35
|
+
Tool: `preflight_url`. Mint a key first, then paste this into your MCP settings:
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"mcpServers": {
|
|
40
|
+
"surface": {
|
|
41
|
+
"type": "http",
|
|
42
|
+
"url": "https://nova-otter-delta-cloud.grok.me/mcp",
|
|
43
|
+
"headers": {
|
|
44
|
+
"Authorization": "Bearer REPLACE_WITH_YOUR_KEY"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Python
|
|
52
|
+
|
|
53
|
+
`pip install surfaceapi`
|
|
54
|
+
|
|
55
|
+
```python
|
|
56
|
+
from surfaceapi import Surface
|
|
57
|
+
key = Surface().create_key().get("key") # free key in ~10 seconds
|
|
58
|
+
s = Surface(api_key=key)
|
|
59
|
+
print(s.preflight("https://youtu.be/jNQXAC9IVRw")) # next: fetch or skip
|
|
60
|
+
print(s.inspect())
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Or set `SURFACE_API_KEY` after the curl above.
|
|
64
|
+
|
|
65
|
+
JavaScript: `npm install @surfaceapi/surface`
|
|
66
|
+
|
|
67
|
+
## Also listed
|
|
68
|
+
|
|
69
|
+
- Official MCP Registry: `me.grok.nova-otter-delta-cloud/surface`
|
|
70
|
+
- https://www.curatedmcp.com/marketplace/surface
|
|
71
|
+
- https://www.npmjs.com/package/@surfaceapi/surface
|
|
72
|
+
- https://pypi.org/project/surfaceapi/
|
|
73
|
+
- https://huggingface.co/spaces/surfaceapi/surface-preflight
|
|
74
|
+
|
|
75
|
+
MCP at `/mcp` (tool `preflight_url`). CLI and GitHub Action are coming soon.
|
surfaceapi-0.1.1/PKG-INFO
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: surfaceapi
|
|
3
|
-
Version: 0.1.1
|
|
4
|
-
Summary: Check a short link before your agent opens it. Surface client: unwrap t.co/bit.ly/lnkd.in/youtu.be and get fetch or skip. 1M requests/month free.
|
|
5
|
-
Author-email: Surface / Canada Site Ops <canada.site.ops@gmail.com>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://nova-otter-delta-cloud.grok.me
|
|
8
|
-
Project-URL: Source, https://github.com/Surface-ops/surface
|
|
9
|
-
Keywords: surface,short-link,unwrap,link-check,preflight,mcp,agents
|
|
10
|
-
Requires-Python: >=3.8
|
|
11
|
-
Description-Content-Type: text/markdown
|
|
12
|
-
License-File: LICENSE
|
|
13
|
-
Dynamic: license-file
|
|
14
|
-
|
|
15
|
-
# Surface: check a short link before you open it
|
|
16
|
-
|
|
17
|
-
[](https://nova-otter-delta-cloud.grok.me)
|
|
18
|
-
|
|
19
|
-
[Surface](https://nova-otter-delta-cloud.grok.me) follows the hops on t.co, bit.ly, lnkd.in and youtu.be links (or any https URL) and says **fetch** or **skip**. It never returns the page, so it's one quick round trip.
|
|
20
|
-
|
|
21
|
-
Free for the first 1,000,000 requests every month, no card needed. After that: Preflight $0.25, Hop $0.40, Pixel $0.15, Inspect $0.20 per 1,000 requests (USD). Production plan with your own key and meter: $50 CAD/month ([billing](https://nova-otter-delta-cloud.grok.me/billing)).
|
|
22
|
-
|
|
23
|
-
[Get started](https://nova-otter-delta-cloud.grok.me/start) · [Docs](https://nova-otter-delta-cloud.grok.me/docs) · Free API key in 10 seconds: `curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys`
|
|
24
|
-
|
|
25
|
-
## One install for Cursor or Claude (MCP)
|
|
26
|
-
Paste this into your MCP settings. The agent then calls `preflight_url` before it opens a short link.
|
|
27
|
-
```json
|
|
28
|
-
{ "mcpServers": { "surface": { "type": "http", "url": "https://nova-otter-delta-cloud.grok.me/mcp" } } }
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Python
|
|
32
|
-
`pip install surfaceapi`
|
|
33
|
-
```python
|
|
34
|
-
from surfaceapi import Surface
|
|
35
|
-
key = Surface().create_key().get("key") # free key
|
|
36
|
-
s = Surface(api_key=key)
|
|
37
|
-
print(s.preflight("https://youtu.be/jNQXAC9IVRw")) # next: fetch or skip
|
|
38
|
-
print(s.inspect()) # bot, browser, or script
|
|
39
|
-
```
|
|
40
|
-
JavaScript: `npm install @surfaceapi/surface`
|
surfaceapi-0.1.1/README.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Surface: check a short link before you open it
|
|
2
|
-
|
|
3
|
-
[](https://nova-otter-delta-cloud.grok.me)
|
|
4
|
-
|
|
5
|
-
[Surface](https://nova-otter-delta-cloud.grok.me) follows the hops on t.co, bit.ly, lnkd.in and youtu.be links (or any https URL) and says **fetch** or **skip**. It never returns the page, so it's one quick round trip.
|
|
6
|
-
|
|
7
|
-
Free for the first 1,000,000 requests every month, no card needed. After that: Preflight $0.25, Hop $0.40, Pixel $0.15, Inspect $0.20 per 1,000 requests (USD). Production plan with your own key and meter: $50 CAD/month ([billing](https://nova-otter-delta-cloud.grok.me/billing)).
|
|
8
|
-
|
|
9
|
-
[Get started](https://nova-otter-delta-cloud.grok.me/start) · [Docs](https://nova-otter-delta-cloud.grok.me/docs) · Free API key in 10 seconds: `curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys`
|
|
10
|
-
|
|
11
|
-
## One install for Cursor or Claude (MCP)
|
|
12
|
-
Paste this into your MCP settings. The agent then calls `preflight_url` before it opens a short link.
|
|
13
|
-
```json
|
|
14
|
-
{ "mcpServers": { "surface": { "type": "http", "url": "https://nova-otter-delta-cloud.grok.me/mcp" } } }
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Python
|
|
18
|
-
`pip install surfaceapi`
|
|
19
|
-
```python
|
|
20
|
-
from surfaceapi import Surface
|
|
21
|
-
key = Surface().create_key().get("key") # free key
|
|
22
|
-
s = Surface(api_key=key)
|
|
23
|
-
print(s.preflight("https://youtu.be/jNQXAC9IVRw")) # next: fetch or skip
|
|
24
|
-
print(s.inspect()) # bot, browser, or script
|
|
25
|
-
```
|
|
26
|
-
JavaScript: `npm install @surfaceapi/surface`
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: surfaceapi
|
|
3
|
-
Version: 0.1.1
|
|
4
|
-
Summary: Check a short link before your agent opens it. Surface client: unwrap t.co/bit.ly/lnkd.in/youtu.be and get fetch or skip. 1M requests/month free.
|
|
5
|
-
Author-email: Surface / Canada Site Ops <canada.site.ops@gmail.com>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://nova-otter-delta-cloud.grok.me
|
|
8
|
-
Project-URL: Source, https://github.com/Surface-ops/surface
|
|
9
|
-
Keywords: surface,short-link,unwrap,link-check,preflight,mcp,agents
|
|
10
|
-
Requires-Python: >=3.8
|
|
11
|
-
Description-Content-Type: text/markdown
|
|
12
|
-
License-File: LICENSE
|
|
13
|
-
Dynamic: license-file
|
|
14
|
-
|
|
15
|
-
# Surface: check a short link before you open it
|
|
16
|
-
|
|
17
|
-
[](https://nova-otter-delta-cloud.grok.me)
|
|
18
|
-
|
|
19
|
-
[Surface](https://nova-otter-delta-cloud.grok.me) follows the hops on t.co, bit.ly, lnkd.in and youtu.be links (or any https URL) and says **fetch** or **skip**. It never returns the page, so it's one quick round trip.
|
|
20
|
-
|
|
21
|
-
Free for the first 1,000,000 requests every month, no card needed. After that: Preflight $0.25, Hop $0.40, Pixel $0.15, Inspect $0.20 per 1,000 requests (USD). Production plan with your own key and meter: $50 CAD/month ([billing](https://nova-otter-delta-cloud.grok.me/billing)).
|
|
22
|
-
|
|
23
|
-
[Get started](https://nova-otter-delta-cloud.grok.me/start) · [Docs](https://nova-otter-delta-cloud.grok.me/docs) · Free API key in 10 seconds: `curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys`
|
|
24
|
-
|
|
25
|
-
## One install for Cursor or Claude (MCP)
|
|
26
|
-
Paste this into your MCP settings. The agent then calls `preflight_url` before it opens a short link.
|
|
27
|
-
```json
|
|
28
|
-
{ "mcpServers": { "surface": { "type": "http", "url": "https://nova-otter-delta-cloud.grok.me/mcp" } } }
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Python
|
|
32
|
-
`pip install surfaceapi`
|
|
33
|
-
```python
|
|
34
|
-
from surfaceapi import Surface
|
|
35
|
-
key = Surface().create_key().get("key") # free key
|
|
36
|
-
s = Surface(api_key=key)
|
|
37
|
-
print(s.preflight("https://youtu.be/jNQXAC9IVRw")) # next: fetch or skip
|
|
38
|
-
print(s.inspect()) # bot, browser, or script
|
|
39
|
-
```
|
|
40
|
-
JavaScript: `npm install @surfaceapi/surface`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|