#!/usr/bin/python

# TVMaze Free endpoints
show_search = 'http://api.tvmaze.com/search/shows?q={0}'
show_single_search = 'http://api.tvmaze.com/singlesearch/shows?q={0}'
lookup_tvrage = 'http://api.tvmaze.com/lookup/shows?tvrage={0}'
lookup_tvdb = 'http://api.tvmaze.com/lookup/shows?thetvdb={0}'
lookup_imdb = 'http://api.tvmaze.com/lookup/shows?imdb={0}'
get_schedule = 'http://api.tvmaze.com/schedule?country={0}&date={1}'
get_full_schedule = 'http://api.tvmaze.com/schedule/full'
show_main_info = 'http://api.tvmaze.com/shows/{0}'
episode_list = 'http://api.tvmaze.com/shows/{0}/episodes?specials=1'
episode_by_number = 'http://api.tvmaze.com/shows/{0}/episodebynumber?season={1}&number={2}'
episodes_by_date = 'http://api.tvmaze.com/shows/{0}/episodesbydate?date={1}'
show_cast = 'http://api.tvmaze.com/shows/{0}/cast'
show_index = 'http://api.tvmaze.com/shows?page={0}'
people_search = 'http://api.tvmaze.com/search/people?q={0}'
person_main_info = 'http://api.tvmaze.com/people/{0}'
person_cast_credits = 'http://api.tvmaze.com/people/{0}/castcredits'
person_crew_credits = 'http://api.tvmaze.com/people/{0}/crewcredits'
show_updates = 'http://api.tvmaze.com/updates/shows'
show_akas = 'http://api.tvmaze.com/shows/{0}/akas'
show_seasons = 'http://api.tvmaze.com/shows/{0}/seasons'
season_by_id = 'http://api.tvmaze.com/seasons/{0}'
episode_by_id = 'http://api.tvmaze.com/episodes/{0}'

# TVMaze Premium endpoints
followed_shows = 'http://tvmazecdn.com/v1/user/follows/shows{0}/{1}'
followed_people = 'http://tvmazecdn.com/v1/user/follows/people{0}/{1}'
followed_networks = 'https://tvmazecdn.com/v1/user/follows/networks{0}/{1}'
followed_web_channels = 'https://tvmazecdn.com/v1/user/follows/webchannels{0}/{1}'
marked_episodes = 'http://tvmazecdn.com/v1/user/episodes/{0}'

#!/usr/bin/python

# TVMaze Free endpoints
show_search = 'http://api.tvmaze.com/search/shows?q={0}'
show_single_search = 'http://api.tvmaze.com/singlesearch/shows?q={0}'
lookup_tvrage = 'http://api.tvmaze.com/lookup/shows?tvrage={0}'
lookup_tvdb = 'http://api.tvmaze.com/lookup/shows?thetvdb={0}'
lookup_imdb = 'http://api.tvmaze.com/lookup/shows?imdb={0}'
get_schedule = 'http://api.tvmaze.com/schedule?country={0}&date={1}'
get_full_schedule = 'http://api.tvmaze.com/schedule/full'
show_main_info = 'http://api.tvmaze.com/shows/{0}'
episode_list = 'http://api.tvmaze.com/shows/{0}/episodes?specials=1'
episode_by_number = 'http://api.tvmaze.com/shows/{0}/episodebynumber?season={1}&number={2}'
episodes_by_date = 'http://api.tvmaze.com/shows/{0}/episodesbydate?date={1}'
show_cast = 'http://api.tvmaze.com/shows/{0}/cast'
show_index = 'http://api.tvmaze.com/shows?page={0}'
people_search = 'http://api.tvmaze.com/search/people?q={0}'
person_main_info = 'http://api.tvmaze.com/people/{0}'
person_cast_credits = 'http://api.tvmaze.com/people/{0}/castcredits'
person_crew_credits = 'http://api.tvmaze.com/people/{0}/crewcredits'
show_updates = 'http://api.tvmaze.com/updates/shows'
show_akas = 'http://api.tvmaze.com/shows/{0}/akas'
show_seasons = 'http://api.tvmaze.com/shows/{0}/seasons'
season_by_id = 'http://api.tvmaze.com/seasons/{0}'
episode_by_id = 'http://api.tvmaze.com/episodes/{0}'

# TVMaze Premium endpoints
followed_shows = 'http://api.tvmaze.com/v1/user/follows/shows{0}/{1}'
followed_people = 'http://api.tvmaze.com/v1/user/follows/people{0}/{1}'
followed_networks = 'https://api.tvmaze.com/v1/user/follows/networks{0}/{1}'
followed_web_channels = 'https://api.tvmaze.com/v1/user/follows/webchannels{0}/{1}'
marked_episodes = 'http://api.tvmaze.com/v1/user/episodes/{0}'

fix premium endpoint urls