zyte-api-rs

Allows access to the Zyte API proxy service.

This is an unofficial, unstable, unfinished crate. However normal usage with HTTP GET should work fine.

Prerequisites

Installation

bash cargo add zyte-api-rs

Example

```rust use zyteapirs::ZyteApi;

[tokio::main]

async fn getgoogle() { let zyteapi = ZyteApi::new(""); let response = zyteapi.get("https://www.google.com/").await.unwrap(); if response.statuscode.issuccess() { println!("{}", response.httpresponse_body); } }

```