forked from dexiio/cloudscrape-client-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExample.cs
26 lines (23 loc) · 765 Bytes
/
Example.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CloudScrapeAPI;
namespace CloudScrapeDemo
{
public partial class CloudScrapeExample : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
const string API_KEY = "Enter API Key";
const string ACCOUNT_ID = "Enter account ID";
const string EXECUTION_ID = "Enter execution ID";
CloudScrape objCloudScrape = new CloudScrape();
objCloudScrape.Init(API_KEY, ACCOUNT_ID);
var exec = objCloudScrape.Executions();
var objCloudScrapeExecutionDTO = exec.GetResult(EXECUTION_ID);
}
}
}