Skip to main content

Reliable APIs for the website data

Project description

Web Transpose. Simple APIs to get data from the internet.

Web Transpose

Web Crawler & AI Web Scraper APIs for building new web experiences.

pip install webtranspose

X License License

Introduction · Installation · Docs


Introduction

In the near future, nobody will open websites. Instead, we will be directly served the information we are seeking. New web experiences will combine the information from many websites into a single, unified experience.

Web Transpose is a collection of API tools that allow building these new web experiences simple.

Crawl

import webtranspose as webt

import os
os.environ['WEBTRANSPOSE_API_KEY'] = "YOUR WEBT API KEY"

crawl = webt.Crawl(
    "https://www.example.com",
    max_pages=100,
    render_js=True,
)
await crawl.crawl() # crawl.queue_crawl() for async

Scrape

import webtranspose as webt

import os
os.environ['WEBTRANSPOSE_API_KEY'] = "YOUR WEBT API KEY"

schema = {
    "Merchant Name": "string",
    "Title of Product": "string",
    "Product Photo URL": "string",
}

scraper = webt.Scraper(
    schema, 
    render_js=True, 
)
out_json = scraper.scrape("https://www.example.com")

Web Search (AI SERP API)

import webtranspose as webt

import os
os.environ['WEBTRANSPOSE_API_KEY'] = "YOUR WEBT API KEY"

results = webt.search("what caused the fourth great ninja war?")
# results.keys()
# ['results']

# AI Filter
results = webt.search_filter("Paul Graham's Blog")
# results.keys()
# ['results', 'filtered_results']

Installation

Non-Python Users: 📄 API Docs.

This repo contains a local lite installation of Web Transpose. This is a good option if you want to run Web Transpose locally on your machine for quick use cases.

pip install webtranspose

However, if you wish to leverage the full tools of Web Transpose and use in production, you should add your API key to add the full version.

os.environ["WEBTRANSPOSE_API_KEY"] = "YOUR_API_KEY_HERE"

Enterprise Support

Web Transpose serves enterprises small and large. We partner with companies for the long term with hands-on support and custom solutions.

Please email me directly at mike@webtranspose.com for enquiries.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webtranspose-0.3.2.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webtranspose-0.3.2-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file webtranspose-0.3.2.tar.gz.

File metadata

  • Download URL: webtranspose-0.3.2.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.5 Darwin/21.3.0

File hashes

Hashes for webtranspose-0.3.2.tar.gz
Algorithm Hash digest
SHA256 91395fa591944ff2c5899a3890c6765204c99bb61e1065677b5d9f21bf85b50f
MD5 40d382618df7a4bc004b3651a116af9c
BLAKE2b-256 87309768eb37025c99c4e77cc9199d77b262df060d449605dafac204eb1642cc

See more details on using hashes here.

File details

Details for the file webtranspose-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: webtranspose-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.5 Darwin/21.3.0

File hashes

Hashes for webtranspose-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e86ac0cc183d4f3607d6a99f8849aaba6162acc7cf912fdc367fe0d3da59cf2
MD5 cc62c0b05b5bfef1a91bed817715aa40
BLAKE2b-256 19c0df78f771722417090ed3735b5d2ed29542b139dde00b1e2ca972beb5b9e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page