generated from nathanwoodburn/python-webserver-template
Nathan Woodburn
e612637589
All checks were successful
Build Docker / BuildImage (push) Successful in 35s
36 lines
686 B
Python
36 lines
686 B
Python
import json
|
|
import requests
|
|
|
|
|
|
# Chain Data
|
|
info = {
|
|
"name": "Example Chain",
|
|
"description": "This is a plugin to be used as an example",
|
|
"version": "1.0",
|
|
"author": "Nathan.Woodburn/"
|
|
}
|
|
|
|
|
|
# Functions
|
|
functions = {
|
|
"search":{
|
|
"name": "Search Owned",
|
|
"type": "default",
|
|
"description": "Search for owned domains containing a string",
|
|
"params": {
|
|
"search": {
|
|
"name":"Search string",
|
|
"type":"text"
|
|
}
|
|
},
|
|
"returns": {
|
|
"domains":
|
|
{
|
|
"name": "List of owned domains",
|
|
"type": "list"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|