Agenty.scripting 1.0.4

dotnet add package Agenty.scripting --version 1.0.4                
NuGet\Install-Package Agenty.scripting -Version 1.0.4                
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="Agenty.scripting" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Agenty.scripting --version 1.0.4                
#r "nuget: Agenty.scripting, 1.0.4"                
#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.
// Install Agenty.scripting as a Cake Addin
#addin nuget:?package=Agenty.scripting&version=1.0.4

// Install Agenty.scripting as a Cake Tool
#tool nuget:?package=Agenty.scripting&version=1.0.4                

Agenty.scripting

A replication of Agenty scripting library in C# to test and debug pre-processing and post-processing scripts locally

Install-Package Agenty.scripting

Post-processing

// Set your api key
Agenty.ApiKey = "AGENTY_API_KEY";

// Get agent result as DataTable
var table = Agenty.Cloud.GetAgentResult("<AGENT_ID>");
            
// Write your code here to test

// Print the table for preview locally
table.Dump();

// Set the result back to agent
//table.SetAgentResult();

Replace example

// Set your api key
Agenty.ApiKey = "AGENTY_API_KEY";

// Get agent result as DataTable
var table = Agenty.Cloud.GetAgentResult("<AGENT_ID>");
            
// Write your code here to test
foreach(DataRow row in table.Rows)
{
	row["Field1"] = row["Field1"].ToString().Replace("abc", "xyz");
}

// Print the table for preview locally
table.Dump();

// Set the result back to agent
//table.SetAgentResult();
Product Compatible and additional computed target framework versions.
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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
1.0.4 770 6/13/2019
1.0.3 588 5/7/2019
1.0.2 604 5/1/2019
1.0.1 628 4/25/2019
1.0.0 635 4/25/2019

Added collection option to pull scraping agent result by index based collection numnber, start with 1.