Apify.Client
0.1.3
dotnet add package Apify.Client --version 0.1.3
NuGet\Install-Package Apify.Client -Version 0.1.3
<PackageReference Include="Apify.Client" Version="0.1.3" />
<PackageVersion Include="Apify.Client" Version="0.1.3" />
<PackageReference Include="Apify.Client" />
paket add Apify.Client --version 0.1.3
#r "nuget: Apify.Client, 0.1.3"
#:package Apify.Client@0.1.3
#addin nuget:?package=Apify.Client&version=0.1.3
#tool nuget:?package=Apify.Client&version=0.1.3
Apify API client for .NET
Official, but experimental — AI-generated and AI-maintained. This is an official Apify client, but it is experimental: it is generated and maintained by AI. Review the code before relying on it in production and report issues on the repository.
A resource-oriented .NET client for the Apify API, mirroring the
official JavaScript reference client: start from an
ApifyClient, then drill down into resources (Actors, runs, datasets, key-value stores, request
queues, tasks, schedules, webhooks, the store, users and logs).
All calls are asynchronous (Task-returning, CancellationToken-aware).
Requirements
- .NET 8.0 or newer.
Installation
dotnet add package Apify.Client
Quick start
ImplicitUsings is disabled in this repository, so every using (even System) is listed explicitly.
using System;
using Apify.Client;
var client = new ApifyClient("my-api-token");
// Start an Actor and wait for it to finish (null waits indefinitely; pass seconds to bound the wait).
var run = await client.Actor("apify/hello-world").CallAsync(null, null, null);
// Read items from the run's default dataset.
var items = await client.Dataset(run.DefaultDatasetId!).ListItemsAsync();
// Count is the number of items in THIS page; Total is the dataset's full count across all pages.
Console.WriteLine($"Items on this page: {items.Count} (of {items.Total} total)");
new ApifyClient("my-api-token") takes the token as an explicit argument — it does not read
APIFY_TOKEN automatically. Get your token from the
Apify Console → Settings → API & Integrations.
Documentation
Full documentation lives in docs/, organized by resource, with runnable
examples.
Versioning
Apify.Client.ApifyClientVersion.ClientVersion— the semantic version of this library.Apify.Client.ApifyClientVersion.ApiSpecVersion— the Apify OpenAPI spec version this client was built against.
License
| Product | Versions 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 was computed. 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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.