Skip to content

scraperapi/scraperapi-code-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Code examples on how to integrate various types of scrapers with Scraper API.

Resources

License

Stars

Watchers

Forks