Lead generation / B2B

BeelineNet.LeadGenerator

.NET client for the beeline B2B Lead Generator partner API

BeelineNet.LeadGenerator version on NuGetBeelineNet.LeadGenerator downloads on NuGetMITC#
net8.0

Features

  • Submit leads and track their status
  • mTLS: certificate from PEM files or a PFX
  • A default agreement number for every call
  • Phone normalization and INN validation
  • DI or standalone use

Installation

bash
dotnet add package BeelineNet.LeadGenerator

Quick start

csharp
using BeelineNet.LeadGenerator;

using var client = BeelineLeadGeneratorClient.Create(new BeelineClientOptions
{
    ClientCertificate = BeelineCertificate.FromPfx("partner.pfx", "password"),
    AgreementNumber   = "ПМ999999",
});

var offers = await client.GetOffersAsync();

Key methods

CreateLeadAsyncSubmit a lead
SearchLeadsAsyncSearch and poll leads
GetOffersAsyncProduct catalogue
UploadOfferAttachmentAsyncUpload a product template
READMEgithub.com/ai-iskuzhin/BeelineNet.LeadGenerator
Loading README from the repository…