Novely.Services.Prospecting 0.2.0

dotnet add package Novely.Services.Prospecting --version 0.2.0
                    
NuGet\Install-Package Novely.Services.Prospecting -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Novely.Services.Prospecting" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novely.Services.Prospecting" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Novely.Services.Prospecting" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Novely.Services.Prospecting --version 0.2.0
                    
#r "nuget: Novely.Services.Prospecting, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Novely.Services.Prospecting@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Novely.Services.Prospecting&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Novely.Services.Prospecting&version=0.2.0
                    
Install as a Cake Tool

Novely.Services.Prospecting

Client .NET pour l'API Recherche d'Entreprises du gouvernement français. Recherchez, filtrez et suivez la prospection d'entreprises via le registre SIRENE.

Installation

dotnet add package Novely.Services.Prospecting

Configuration

services.AddProspecting(options =>
{
    options.UserAgent = "MonCRM/1.0";
});

Utilisation

Recherche avec filtres

var results = await searchService.SearchAsync(new SearchFilter
{
    Query = "boulangerie",
    Departments = ["75", "92"],
    Status = AdministrativeStatus.Active,
    CompanyCategories = ["PME"],
    PerPage = 25
});

foreach (var enterprise in results.Results)
{
    Console.WriteLine($"{enterprise.Siren} - {enterprise.FullName}");
}

Recherche géographique

var results = await searchService.SearchNearPointAsync(new GeoSearchFilter
{
    Latitude = 48.8566,
    Longitude = 2.3522,
    Radius = 5,
    ActivityCodes = ["62.01Z"]
});

Récupérer une entreprise par SIREN

var enterprise = await searchService.GetBySirenAsync("123456789");

Itérer toutes les pages automatiquement

await foreach (var enterprise in searchService.SearchAllAsync(filter))
{
    // Traite chaque entreprise, pagination automatique
}

Suivi de prospection

// Ajouter une entreprise au suivi
var record = tracker.Track(enterprise, ProspectStatus.New);

// Mettre à jour le statut
tracker.UpdateStatus("123456789", ProspectStatus.Contacted, "Premier appel effectué");

// Filtrer par statut
var contacted = tracker.GetByStatus(ProspectStatus.Contacted);

Statuts de prospection

Statut Description
New Nouveau prospect identifié
Contacted Premier contact effectué
Qualified Prospect qualifié
Proposal Proposition envoyée
Won Client gagné
Lost Prospect perdu
Ignored Prospect ignoré

Filtres disponibles

  • Texte : nom, dirigeant
  • Activité : codes NAF/APE, sections
  • Localisation : code postal, commune, département, région
  • Taille : tranche d'effectifs, catégorie (PME/ETI/GE)
  • Juridique : forme juridique, entrepreneur individuel
  • Statut : active / cessée
  • Finances : CA min/max, résultat net min/max
  • Labels : Bio, RGE, Qualiopi, ESS, association, etc.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0 95 3/20/2026
0.1.0 63 3/20/2026