1.0.6 • Published 4 months ago

python-proxy-scraper-client v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

Python Proxy Scraper Client

A TypeScript client for interacting with a Python proxy scraper service. This client provides a convenient interface to interact with blockchain data and trading information.

Features

  • TypeScript support with full type definitions
  • Blockchain service integration
  • Environment variable configuration
  • Easy to use client interface
  • Support for multiple chains (ETH, BSC, SOL, TRX)

Installation

npm install python-proxy-scraper-client

Usage

import { Client } from 'python-proxy-scraper-client';

// Initialize the client
const client = new Client();

// Get trending tokens
const trendingTokens = await client.blockchain.gmgn.getTrendingTokens('eth', '1h');

// Get token security information
const tokenSecurity = await client.blockchain.gmgn.getTokenSecurityAndLaunchpad(
    '0x123...', // token address
    'eth'       // chain
);

// Get wallet holdings
const holdings = await client.blockchain.gmgn.getWalletHoldings(
    '0x456...', // wallet address
    'eth'       // chain
);

Configuration

The client can be configured using environment variables:

  1. Create a .env file in your project root:
BACKEND_URL=http://your-backend-url
  1. Or pass the URL directly when initializing the client:
const client = new Client('http://your-backend-url');

Available Chains

  • eth - Ethereum
  • bsc - Binance Smart Chain
  • sol - Solana
  • trx - TRON

Development

# Install dependencies
npm install

# Build the project
npm run build

# Run the example
npm start

License

ISC

1.0.6

4 months ago

1.0.5

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago