AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Web data: collecting data from APIs and web pages

How the web serves data, reading JSON APIs with pages and errors, parsing HTML with BeautifulSoup, cleaning what you collect, and doing it politely and legally, on market prices and job listings.

Not all data arrives as a tidy file. The prices you want are on a government portal, the job openings are on a hiring website, the exchange rates come from a service that your code must ask. Collecting that data by program is a daily skill for analysts and data engineers: calling APIs, which hand out data in a clean format, and scraping web pages, when there is no API.

This course runs in the browser, which cannot reach other websites, so the web calls are practice calls served from saved copies of real-looking responses: market prices in the format used by Indian open-data portals, and a job-listing page. The code you write is the same code you would write against the live thing, with one line changed. You need Python and pandas basics, and the Python intermediate course helps.

  • Learn lessons build one skill at a time, with exercises you can repeat.
  • Industry ready lessons build a vegetable-price tracker from an API and a job-market skills report from a web page, and end with the interview questions that go with them.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 25 min Free sample πŸ”’ AiTeky Pass How the web serves data: requests, responses and good manners See how a request and a response work, read status codes, tell JSON from HTML, and learn the rules that make collecting data polite and lawful.
  2. 02 30 min πŸ”’ AiTeky Pass JSON APIs: pages, nested data and what to do when a call fails Follow an API through all its pages, flatten the records into a table, retry a failed call politely, and keep keys and settings out of your code.
  3. 03 30 min πŸ”’ AiTeky Pass HTML and BeautifulSoup: pulling data out of a web page Read how an HTML page is built from tags and classes, find elements with BeautifulSoup using find, find_all and CSS selectors, and turn repeated cards on a page into a table.
  4. 04 30 min πŸ”’ AiTeky Pass Cleaning what you collected: salaries, dates and lists Turn salary text in two styles into one number, read "3 days ago" as a date, split skill lists into one row each, and write each rule as a small function with tests.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 05 40 min πŸ”’ AiTeky Pass On the job: a vegetable-price tracker from a market API Collect all the pages of a market-price API, check the count, remove a repeated record, clean prices and names, compare two weeks by state, flag price spikes with a rule, and report what the data can and cannot say.
  2. 06 40 min πŸ”’ AiTeky Pass On the job: which skills do data jobs ask for? A scraped skills report Scrape a job-listing page, clean salaries and skills, rank the skills asked for by role, compare pay by role, report what scraping can and cannot tell you, and cover the legal and ethical checklist.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in