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 11import {
22 IAuthenticateGeneric ,
3+ Icon ,
34 ICredentialTestRequest ,
45 ICredentialType ,
56 INodeProperties ,
@@ -8,10 +9,11 @@ import {
89export class SearchApi implements ICredentialType {
910 name = 'searchApi' ;
1011 displayName = 'SearchApi API' ;
11-
12+
1213 // Uses the link to this tutorial as an example
1314 // Replace with your own docs links when building your own nodes
1415 documentationUrl = 'https://www.searchapi.io/docs/google' ;
16+ icon : Icon = 'file:../nodes/SearchApi/searchApi.svg' ;
1517 properties : INodeProperties [ ] = [
1618 {
1719 displayName : 'API Key' ,
@@ -41,4 +43,4 @@ export class SearchApi implements ICredentialType {
4143 }
4244 }
4345 }
44- }
46+ }
Original file line number Diff line number Diff line change 66 "resources" : {
77 "credentialDocumentation" : [
88 {
9- "url" : " http ://httpbin.org/#/Auth/get_bearer "
9+ "url" : " https ://www.searchapi.io/ "
1010 }
1111 ],
1212 "primaryDocumentation" : [
1313 {
14- "url" : " http ://httpbin.org/ "
14+ "url" : " https ://www.searchapi.io/docs/google "
1515 }
1616 ]
1717 }
18- }
18+ }
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ export class SearchApi implements INodeType {
2525 method : 'GET' ,
2626 url : '/search' ,
2727 headers : { Accept : 'application/json' } ,
28- qs : {
29- api_key : '={{ $credentials.apiKey }}' , // generic-auth pattern :contentReference[oaicite:3]{index=3}
30- } ,
3128 } ,
3229 hints : [
3330 {
Original file line number Diff line number Diff line change 11{
22 "name" : " @searchapi/n8n-nodes-searchapi" ,
3- "version" : " 2.0.3 " ,
3+ "version" : " 2.0.4 " ,
44 "description" : " SearchApi.io nodes for n8n" ,
55 "keywords" : [
66 " n8n-community-node-package"
4747 "eslint" : " ^8.56.0" ,
4848 "eslint-plugin-n8n-nodes-base" : " ^1.16.3" ,
4949 "gulp" : " ^4.0.2" ,
50- "n8n-workflow" : " ^1.70.0" ,
5150 "prettier" : " ^3.3.2" ,
5251 "typescript" : " ^5.5.3"
53- },
54- "peerDependencies" : {
55- "n8n-workflow" : " *"
5652 }
5753}
You can’t perform that action at this time.
0 commit comments