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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
.NETFramework 4.6
- Newtonsoft.Json (>= 12.0.2)
- System.Net.Http (>= 4.3.4)
- System.Net.Http.Formatting.Extension (>= 5.2.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added collection option to pull scraping agent result by index based collection numnber, start with 1.