File tree Expand file tree Collapse file tree 5 files changed +8
-706
lines changed Expand file tree Collapse file tree 5 files changed +8
-706
lines changed Original file line number Diff line number Diff line change 1
1
import {
2
2
IAuthenticateGeneric ,
3
+ Icon ,
3
4
ICredentialTestRequest ,
4
5
ICredentialType ,
5
6
INodeProperties ,
@@ -8,10 +9,11 @@ import {
8
9
export class SearchApi implements ICredentialType {
9
10
name = 'searchApi' ;
10
11
displayName = 'SearchApi API' ;
11
-
12
+
12
13
// Uses the link to this tutorial as an example
13
14
// Replace with your own docs links when building your own nodes
14
15
documentationUrl = 'https://www.searchapi.io/docs/google' ;
16
+ icon : Icon = 'file:../nodes/SearchApi/searchApi.svg' ;
15
17
properties : INodeProperties [ ] = [
16
18
{
17
19
displayName : 'API Key' ,
@@ -41,4 +43,4 @@ export class SearchApi implements ICredentialType {
41
43
}
42
44
}
43
45
}
44
- }
46
+ }
Original file line number Diff line number Diff line change 6
6
"resources" : {
7
7
"credentialDocumentation" : [
8
8
{
9
- "url" : " http ://httpbin.org/#/Auth/get_bearer "
9
+ "url" : " https ://www.searchapi.io/ "
10
10
}
11
11
],
12
12
"primaryDocumentation" : [
13
13
{
14
- "url" : " http ://httpbin.org/ "
14
+ "url" : " https ://www.searchapi.io/docs/google "
15
15
}
16
16
]
17
17
}
18
- }
18
+ }
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ export class SearchApi implements INodeType {
25
25
method : 'GET' ,
26
26
url : '/search' ,
27
27
headers : { Accept : 'application/json' } ,
28
- qs : {
29
- api_key : '={{ $credentials.apiKey }}' , // generic-auth pattern :contentReference[oaicite:3]{index=3}
30
- } ,
31
28
} ,
32
29
hints : [
33
30
{
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @searchapi/n8n-nodes-searchapi" ,
3
- "version" : " 2.0.3 " ,
3
+ "version" : " 2.0.4 " ,
4
4
"description" : " SearchApi.io nodes for n8n" ,
5
5
"keywords" : [
6
6
" n8n-community-node-package"
47
47
"eslint" : " ^8.56.0" ,
48
48
"eslint-plugin-n8n-nodes-base" : " ^1.16.3" ,
49
49
"gulp" : " ^4.0.2" ,
50
- "n8n-workflow" : " ^1.70.0" ,
51
50
"prettier" : " ^3.3.2" ,
52
51
"typescript" : " ^5.5.3"
53
- },
54
- "peerDependencies" : {
55
- "n8n-workflow" : " *"
56
52
}
57
53
}
You can’t perform that action at this time.
0 commit comments