Skip to main content
Learn how to integrate Floppydata proxies with your preferred programming languages and tools.

Quick setup

Python

requests, httpx, aiohttp

Node.js

axios, got, node-fetch

Other languages

PHP, Ruby, Go, Java, C#

Python setup

Using requests

Install:
Basic setup:
With environment variables:
Using Session:

Using httpx

Install:
Synchronous:
Asynchronous:

Using aiohttp

Install:
Example:

Node.js setup

Using axios

Install:
Basic setup:
With environment variables:
Create reusable instance:

Using got

Install:
Example:

Using node-fetch

Install:
Example:

Other languages

Using cURL:
Using Guzzle:

Tool integrations

Scrapy

Create middleware file (middlewares.py):
Update settings (settings.py):
Use in spider:

Selenium

Chrome:
Firefox:
Alternative: Using proxy authentication extension:

Puppeteer

Install:
Basic setup:
With custom User-Agent:

Playwright

Install:
Chromium:
Firefox:
Python (Playwright):

Best practices

Use environment variables

Never hardcode credentials in your code

Sessions for multi-step flows

Use sessions for login, checkout, and account workflows

Rotation for scraping

Use rotation when collecting data from many pages

Error handling

Always handle proxy errors and implement retry logic

Example error handling