Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.86 KB

File metadata and controls

66 lines (42 loc) · 1.86 KB

Ujeebu API Python SDK

Documentation Status

Ujeebu is a set of powerful APIs for Web data scraping and automatic content extraction. This SDK provides an easy-to-use interface for interacting with Ujeebu API using Python.

Installation

Install using pip:

pip install ujeebu_python

Quick Start

from ujeebu_python import UjeebuClient
import json

ujeebu = UjeebuClient(api_key="__YOUR-API-KEY__")
url = "https://ujeebu.com/blog/scraping-javascript-heavy-pages-using-puppeteer/"
response = ujeebu.extract(url=url)

if response.status_code == 200:
    result = response.json()
    print(json.dumps(result['article'], indent=2))
else:
    print("Error:", response.json())

Features

  • Scrape API: Scrape any web page with JavaScript rendering support
  • Extract API: Automatically extract article content from web pages
  • SERP API: Search Google and get structured results
  • Helper Methods: Convenient methods for common tasks (screenshots, PDFs, HTML)

For full documentation, visit https://ujeebu.com/docs

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.