Source

client-server / client / app.py

Full commit
# -*- coding: utf-8 -*-
import requests

SERVER = 'http://127.0.0.1:8001/get'

datatype = raw_input('Dados em xml ou json: ')
limit = raw_input('Quantidade de registros: ')

req_url = '%s/%s/%s' % (SERVER, datatype, limit)

req = requests.get(req_url)

print req.text