Advertisement
dereksir

Untitled

Dec 6th, 2023 (edited)
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. // dotnet add package RestSharp
  2. using RestSharp;
  3.  
  4. namespace TestApplication {
  5.     class Test {
  6.         static void Main(string[] args) {
  7.             var client = new RestClient("https://api.zenrows.com/v1/?apikey=<YOUR_ZENROWS_API_KEY>&url=https%3A%2F%2Fwww.g2.com%2Fproducts%2Fasana%2Freviews&js_render=true&antibot=true&premium_proxy=true");
  8.             var request = new RestRequest();
  9.  
  10.             var response = client.Get(request);
  11.             Console.WriteLine(response.Content);
  12.         }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement