See attached
Q1.1 [30 points] Collect data from TMDb and build a graph For this Q1.1, you will be using and submitting a python file. Complete all tasks according to the instructions found in submission.py to complete the Graph class, the TMDbAPIUtils class, and the two global functions. The Graph class will serve as a re-usable way to represent and write out your collected graph data. The TMDbAPIUtils class will be used to work with the TMDB API for data retrieval. NOTE: You must only use a version of Python ≥ 3.7.0 and < 3.8 for this question. this question has been developed, tested for these versions. you must not use any other versions (e.g., python 3.8). while we want to be able to extend to more python versions, the specified versions are what we can definitively support at this time. note: you must only use the modules and libraries provided at the top of submission.py and modules from the python standard library. pandas and numpy cannot be used — while we understand that they are useful libraries to learn, completing this question is not critically dependent on their functionality. in addition, to enable our tas to provide better, more consistent support to our students, we have decided to focus on the subset of libraries. note: we will call each function once in submission.py during grading. the total runtime of submission.py must not exceed 10 minutes. submissions exceeding this limit will receive zero credit. the average runtime of the code during grading is expected to take approximately 4 seconds. when we grade, we will take into account what your code does, and aspects that may be out of your control. for example, sometimes the server may be under heavy load, which may significantly increase the response time (e.g., the closer it is to hw1 deadline, likely the longer the response time!). a. [10 pts] implementation of the graph class according to the instructions in submission.py b. [10 pts] implementation of the tmdbapiutils class according to the instructions in submission.py. you will use version 3 of the tmdb api to download data about actors and their co-actors. to use the tmdb api: create a tmdb account and obtain your clientid/clientsecret which are required to obtain an authentication token. refer to the tmdbapidocumentation as you work on this question.the documentation contains a helpful ‘try-it-out’ feature for interacting with the api calls. c. producing correct nodes.csv and edges.csv. you must upload your nodes.csv and edges.csv files to argo-lite as directed in q1.2. 3.8="" for="" this="" question.="" this="" question="" has="" been="" developed,="" tested="" for="" these="" versions.="" you="" must="" not="" use="" any="" other="" versions="" (e.g.,="" python="" 3.8).="" while="" we="" want="" to="" be="" able="" to="" extend="" to="" more="" python="" versions,="" the="" specified="" versions="" are="" what="" we="" can="" definitively="" support="" at="" this="" time.="" note:="" you="" must="" only="" use="" the="" modules="" and="" libraries="" provided="" at="" the="" top="" of="" submission.py="" and="" modules="" from="" the="" python="" standard="" library.="" pandas="" and="" numpy="" cannot="" be="" used="" —="" while="" we="" understand="" that="" they="" are="" useful="" libraries="" to="" learn,="" completing="" this="" question="" is="" not="" critically="" dependent="" on="" their="" functionality.="" in="" addition,="" to="" enable="" our="" tas="" to="" provide="" better,="" more="" consistent="" support="" to="" our="" students,="" we="" have="" decided="" to="" focus="" on="" the="" subset="" of="" libraries.="" note:="" we="" will="" call="" each="" function="" once="" in="" submission.py="" during="" grading.="" the="" total="" runtime="" of="" submission.py="" must="" not="" exceed="" 10="" minutes.="" submissions="" exceeding="" this="" limit="" will="" receive="" zero="" credit.="" the="" average="" runtime="" of="" the="" code="" during="" grading="" is="" expected="" to="" take="" approximately="" 4="" seconds.="" when="" we="" grade,="" we="" will="" take="" into="" account="" what="" your="" code="" does,="" and="" aspects="" that="" may="" be="" out="" of="" your="" control.="" for="" example,="" sometimes="" the="" server="" may="" be="" under="" heavy="" load,="" which="" may="" significantly="" increase="" the="" response="" time="" (e.g.,="" the="" closer="" it="" is="" to="" hw1="" deadline,="" likely="" the="" longer="" the="" response="" time!).="" a.="" [10="" pts]="" implementation="" of="" the="" graph="" class="" according="" to="" the="" instructions="" in="" submission.py="" b.="" [10="" pts]="" implementation="" of="" the="" tmdbapiutils="" class="" according="" to="" the="" instructions="" in="" submission.py.="" you="" will="" use="" version="" 3="" of="" the="" tmdb="" api="" to="" download="" data="" about="" actors="" and="" their="" co-actors.="" to="" use="" the="" tmdb="" api:="" create="" a="" tmdb="" account="" and="" obtain="" your="" clientid/clientsecret="" which="" are="" required="" to="" obtain="" an="" authentication="" token.="" refer="" to="" the="" tmdbapidocumentation="" as="" you="" work="" on="" this="" question.the="" documentation="" contains="" a="" helpful="" ‘try-it-out’="" feature="" for="" interacting="" with="" the="" api="" calls.="" c.="" producing="" correct="" nodes.csv="" and="" edges.csv.="" you="" must="" upload="" your="" nodes.csv="" and="" edges.csv="" files="" to="" argo-lite="" as="" directed="" in=""> 3.8 for this question. this question has been developed, tested for these versions. you must not use any other versions (e.g., python 3.8). while we want to be able to extend to more python versions, the specified versions are what we can definitively support at this time. note: you must only use the modules and libraries provided at the top of submission.py and modules from the python standard library. pandas and numpy cannot be used — while we understand that they are useful libraries to learn, completing this question is not critically dependent on their functionality. in addition, to enable our tas to provide better, more consistent support to our students, we have decided to focus on the subset of libraries. note: we will call each function once in submission.py during grading. the total runtime of submission.py must not exceed 10 minutes. submissions exceeding this limit will receive zero credit. the average runtime of the code during grading is expected to take approximately 4 seconds. when we grade, we will take into account what your code does, and aspects that may be out of your control. for example, sometimes the server may be under heavy load, which may significantly increase the response time (e.g., the closer it is to hw1 deadline, likely the longer the response time!). a. [10 pts] implementation of the graph class according to the instructions in submission.py b. [10 pts] implementation of the tmdbapiutils class according to the instructions in submission.py. you will use version 3 of the tmdb api to download data about actors and their co-actors. to use the tmdb api: create a tmdb account and obtain your clientid/clientsecret which are required to obtain an authentication token. refer to the tmdbapidocumentation as you work on this question.the documentation contains a helpful ‘try-it-out’ feature for interacting with the api calls. c. producing correct nodes.csv and edges.csv. you must upload your nodes.csv and edges.csv files to argo-lite as directed in q1.2.>