Skip to main content

WebScrapingApi Python SDK

Project description

WebScrapingApi Python SDK

WebScrapingApi is an API that allows scraping websites while using rotating proxies to prevent bans. This SDK for Python makes the usage of the API easier to implement in any project you have.

Installation

Run the following command in the main folder of your project:

pip install webscrapingapi

API Key

To use the API and the SDK you will need a API Key. You can get one by registering at WebScrapingApi

Usage

Using the SDK it's quite easy. You can check out the code from example.py to make things more clear. An example of a GET call to the API is the following:

from webscrapingapi import WebScrapingApiClient

client = WebScrapingApiClient(api_key='YOUR_API_KEY')

response = client.get('https://webscrapingapi.com', params={
    'render_js': 0,
    'proxy_type': 'datacenter',
    'device': 'desktop',
}, headers={
    'authorization': 'bearer test'
})

For a better understanding of the parameters, please check out our documentation

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

webscrapingapi-1.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

webscrapingapi-1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file webscrapingapi-1.2.tar.gz.

File metadata

  • Download URL: webscrapingapi-1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for webscrapingapi-1.2.tar.gz
Algorithm Hash digest
SHA256 4355bacc40e8c5e91333e3f6572ed7b20f9adfaebaadb84377d9e3526affbca3
MD5 2571dd316f0b71be1c569dbfdb084e61
BLAKE2b-256 a7dca4d378b22d2400452ae0030d1f7bc08fe44511e5906491163e09408bdec3

See more details on using hashes here.

File details

Details for the file webscrapingapi-1.2-py3-none-any.whl.

File metadata

  • Download URL: webscrapingapi-1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for webscrapingapi-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 729cc8edc48be11ad514a5f7ab255817dc8294b3cba5b61c247c2cc465b28853
MD5 25d77e0336a2e6cabb6ef925a9ea3393
BLAKE2b-256 d0c7b218bce688ae32da2ce334456b5c1b3859a5ec004f9ee81f2a4d41d8e95c

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