APIcamp
Project pack Power BI lab Project pack
Instructions
Before you code: complete setup and practice loop
  1. Install Python 3.12+ and VS Code, then open a new folder named api-camp-practice.
  2. In the VS Code terminal create and activate a virtual environment, then run python -m pip install requests pytest playwright pytest-playwright fastapi httpx sqlalchemy.
  3. Run python -m playwright install chromium, create main.py, and copy the starter code from the editor.
  4. Read the lesson's Why this matters and Build it step by step, then replace every TODO and pass.
  5. Use Run Code for a quick structure check and Check Solution for every requirement. Then run the lesson's real terminal command locally.

Quick shortcut

Create and activate venv

  1. Create the virtual environment
    python -m venv venv
  2. Activate it for your terminal
    Windows (Command Prompt)
    venv\Scripts\activate
    Windows (PowerShell)
    venv\Scripts\Activate.ps1
    macOS/Linux (Bash/Zsh)
    source venv/bin/activate

Important: this page checks code structure safely; it cannot execute Python or contact an API. The “Run it for real” section in every lesson gives you the exact local command.

My setup readiness 0 of 5 setup steps complete
Py main.py
Python 3.12 · Playwright
Ctrl + Enter: run · Ctrl + Shift + Enter: check Ready to help with the next line.
Test results

Ready. Run your code to inspect it, then check it against the challenge tests.

Free course + one-time project pack

Learn the foundations free. Build a runnable portfolio project when you are ready.

API Camp teaches requests, authentication, pytest fixtures, lifecycle cleanup, Playwright API testing, and failure diagnosis. The Project Pack turns those ideas into one local, reproducible repository you can study and adapt for your own portfolio.

  • Available: four self-paced tutorial tracks
  • Available: local progress export and certificates
  • Available: complete recorded walkthrough
  • Available: Portfolio Code learning lab
  • Available: runnable API-testing Project Pack with one complimentary coding session

Portfolio-ready practice

Portfolio Code

Use focused practice briefs for Python domain modeling, pytest acceptance checks, Playwright user journeys, and a provider-neutral API + LLM project. The Project Pack adds a complete runnable repository with synthetic data and local setup instructions.

  • 29 practical product briefs
  • Python domain-model starters
  • pytest acceptance tests
  • Playwright browser checks
Explore the Project Pack

Explore

Free API Camp

$0

  • All interactive tutorials
  • Solution checker
  • Local progress and certificate
Keep learning free

Shipping status

What is verified

Release checked

  • Four interactive tracks
  • Responsive keyboard workflow
  • Progress export and local certificates
  • Server-verified Project Pack delivery
Inspect the course

Questions

Frequently asked questions

Who is this for?

Manual testers, junior QA engineers, career changers, and Python beginners who want a practical automation portfolio.

Do I need programming experience?

No advanced experience is required. The setup guide, starter code, solutions, and walkthroughs take you step by step.

What does the Project Pack include?

It includes a typed API client, pytest contract suite, local fake API, optional Playwright journey, setup guide, portfolio prompts, and one complimentary coding session by appointment. It does not include recurring coaching, custom code review, or access to production systems.

How is the download delivered?

After Stripe confirms payment, API Camp verifies the paid Checkout Session before releasing the ZIP download.

Can I keep using the free course?

Yes. The four tutorial tracks, solution checks, local progress, certificates, walkthrough, and Portfolio Code page are available without cohort enrollment.

Learn from a working example

Exercise solution

Compare this with your attempt. Notice the punctuation, indentation, and order of each statement.

Private on this device

Lesson notes

Plain-English reference

API Camp glossary

Start here · 3 minute guided tour

From zero setup to a passed exercise

Watch once before challenge one. Captions are burned into the video and the full transcript is below.

Read the complete walkthrough transcript
  1. Install Python and VS Code. Confirm Python with python --version.
  2. Create a practice folder and virtual environment, activate it, and install requests, pytest, Playwright, and pytest-playwright.
  3. Install Chromium with python -m playwright install chromium.
  4. Choose a challenge, read why the technique matters, copy the starter into main.py, and complete one numbered step at a time.
  5. Use Run Code, then Check Solution. Read each failed requirement as the next specific edit—not as a generic error.
  6. Copy the lesson's local command into your terminal. A passing browser check proves the required structure; a passing local command proves the code really runs.
  7. If it fails, compare the expected result, troubleshooting notes, indentation, spelling, packages, and virtual environment. Re-run until green.

Challenge passed

Excellent work.

Save progress everywhere

Sign in to API Camp

Keep your API, Python, and Playwright progress synchronized across devices.

Sign in through a configured provider. API Camp does not receive your provider password.

Challenge version history

Restore a previous draft

Choose a prior code snapshot to restore for this challenge.