from flask import Flask
from flask import request
import pyrpc

app = Flask(__name__)


@app.route("/")
def hello():
    return "Hello world!"


@app.route("/<method>")
def method(method):
    searchword = request.args.get('arg', '')
    payload = {
            "method": method,
            "params": [searchword],
            "id": 1,
    }
    result = pyrpc.makeRequest(payload)

    return result

b70bc33f5e55fe30789f8fa99fa248b1b8e7b955
<mask token>


@app.route('/')
def hello():
    return 'Hello world!'


<mask token>

<mask token>


@app.route('/')
def hello():
    return 'Hello world!'


@app.route('/<method>')
def method(method):
    searchword = request.args.get('arg', '')
    payload = {'method': method, 'params': [searchword], 'id': 1}
    result = pyrpc.makeRequest(payload)
    return result

<mask token>
app = Flask(__name__)


@app.route('/')
def hello():
    return 'Hello world!'


@app.route('/<method>')
def method(method):
    searchword = request.args.get('arg', '')
    payload = {'method': method, 'params': [searchword], 'id': 1}
    result = pyrpc.makeRequest(payload)
    return result

from flask import Flask
from flask import request
import pyrpc
app = Flask(__name__)


@app.route('/')
def hello():
    return 'Hello world!'


@app.route('/<method>')
def method(method):
    searchword = request.args.get('arg', '')
    payload = {'method': method, 'params': [searchword], 'id': 1}
    result = pyrpc.makeRequest(payload)
    return result

from flask import Flask
from flask import request
import pyrpc

app = Flask(__name__)


@app.route("/")
def hello():
    return "Hello world!"


@app.route("/<method>")
def method(method):
    searchword = request.args.get('arg', '')
    payload = {
            "method": method,
            "params": [searchword],
            "id": 1,
    }
    result = pyrpc.makeRequest(payload)

    return result
