Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.57 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.57 KB

scraperapi-code-examples

There are 3 ways in which you can send integrate your scrapers with Scraper API:

  1. API endpoint: http://api.scraperapi.com/?api_key=YOUR_API_KEY&url=http://httpbin.org/ip
  2. One of our SDK's, currently available for: Python, NodeJS, PHP, Ruby, Java.
  3. Proxy Port: http://scraperapi:YOUR_API_KEY@proxy-server.scraperapi.com:8001

All three options have the same functionality and performance, they just offer you the flexibility to integrate Scraper API in the way that is easiest for you.

Code Examples

This repo contains basic code examples showing you how to integrate ScaperAPI using each of the three integration options:

Python

  1. Python Requests and Beautifulsoup
  2. Python Scrapy
  3. Python Selenium

NodeJS

  1. NodeJS and Cheerio
  2. NodeJS Puppeteer

The full Scraper API documentation can be found here.