<s> from flask import Flask <EOL> from flask_restful import Api <EOL> from tornado . ioloop import IOLoop <EOL> from tornado . wsgi import WSGIContainer <EOL> from tornado . httpserver import HTTPServer <EOL> from resources . places import PlacesAPI <EOL> from resources . country import CountryAPI <EOL> from resources . easter_egg import EasterEgg <EOL> app = Flask ( __name__ ) <EOL> api = Api ( app ) <EOL> api . add_resource ( PlacesAPI , '<STR_LIT>' ) <EOL> api . add_resource ( CountryAPI , '<STR_LIT>' ) <EOL> api . add_resource ( EasterEgg , '<STR_LIT>' ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> http_server = HTTPServer ( WSGIContainer ( app ) ) <EOL> http_server . listen ( <NUM_LIT> ) <EOL> IOLoop . instance ( ) . start ( ) </s>
