
from flask import Blueprint, jsonify, request
from flask_restful import Resource, Api
import apps.Farmacias.api_call as api_call

farmacia_bp = Blueprint('farmacias', __name__)
api = Api(farmacia_bp)

class Farmacias(Resource):
    def get(self):
        farmacias = api_call.getFarmacias()
        return farmacias

api.add_resource(Farmacias, '')


from flask import Blueprint, jsonify, request
from flask_restful import Resource, Api
import apps.Farmacias.api_call as api_call

farmacia_bp = Blueprint('farmacias', __name__)
api = Api(farmacia_bp)

class Farmacias(Resource):
    def get(self):
        farmacias = api_call.getFarmacias()
        return farmacias

api.add_resource(Farmacias, '')
