Your first intraction

Your first intraction

Install the package, set MAKRA_API_KEY, then run this script.

from makra import Makra

url = "https://shop.example/products/atlas-lamp"
with Makra() as client:
    response = client.extract([url], {"name": "The product name"})

print(response["data"][url]["name"])

The field description tells Makra what to return. Add more fields to the schema when you need them.

Next, learn how to read an extraction response.