Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bottle
- import art
- import json
- @bottle.route("/map.js")
- def Rmapjs():
- return bottle.static_file("map.js", root="")
- @bottle.route("/")
- def Rindex():
- return bottle.static_file("index.html", root="")
- @bottle.route('/art')
- def get_art_data():
- return art.process_art_data("https://data.buffalony.gov/resource/v5df-q4ru.json")
- bottle.run(host="0.0.0.0", port=8080, debug=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement