Пример #1
0
def applicants_and_mentors_page():
    title = "Applicants and mentors page"
    query = common.fetch_data(
        queries.applicants_and_mentors_(common.get_cursor()))
    return render_template("page.html", title=title, table=query)
Пример #2
0
def contacts_page():
    title = "Contacts page"
    query = common.fetch_data(queries.contacts(common.get_cursor()))
    return render_template("page.html", title=title, table=query)
Пример #3
0
def mentors_by_country_page():
    title = "Mentors by country page"
    query = common.fetch_data(queries.mentors_by_country(common.get_cursor()))
    return render_template("page.html", title=title, table=query)
Пример #4
0
def all_school_page():
    title = "All school page"
    query = common.fetch_data(queries.all_school(common.get_cursor()))
    return render_template("page.html", title=title, table=query)
Пример #5
0
def mentors_and_schools_page():
    title = "Mentors and schools page"
    query = common.fetch_data(queries.mentors_and_schools(common.get_cursor()))
    return render_template("page.html", title=title, table=query)
Пример #6
0
from pprint import pprint

import pandas as pd

from common import (get_url, fetch_data)

url = 'http://www.kobis.or.kr/kobisopenapi/webservice/rest/movie/searchMovieI\
nfo.json'

# 명량: 20129370

params = dict(movieCd=20129370)

url0 = get_url(url, params)
data = fetch_data(url0)
pprint(data)
'''
movieListResult/movieList

'''