Question: Using This Python code import json import urllib url = 'https://jobs.github.com/positions.json?page=1' # URL for API 1-5json_obj = urllib.urlopen(url) data = json.load(json_obj) # loads the url

Using This Python code

import json import urllib url = 'https://jobs.github.com/positions.json?page=1' # URL for API 1-5json_obj = urllib.urlopen(url) data = json.load(json_obj) # loads the url and set it into data variable def loading(): print " LOADING API(s)" urllib.urlopen('https://jobs.github.com/positions.json?page=1') print (json.dumps(data[1])) print (" ")
def main(): loading()
main()

Create a data base with a table/document (sqlite for undergrads, either sqlite or a nosql database for grads) for the data you have collected.

using good coding style, you should have a separate function that knows about the data base that is completely unaware of the web based source of the data. (take the data to be saved by the database as a parameter)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!