hubspot-tickets

Crates.iohubspot-tickets
lib.rshubspot-tickets
version0.1.0
sourcesrc
created_at2025-05-12 15:05:28.275796+00
updated_at2025-05-12 15:05:28.275796+00
descriptionA fully generated & opinionated API client for the Hubspot Tickets API.
homepage
repository
max_upload_size
id1670728
size209,865
crate-owners (github:kittycad:crate-owners)

documentation

https://docs.rs/hubspot-tickets

README

hubspot-tickets

A fully generated & opinionated API client for the Hubspot Tickets API.

docs.rs

API Details

Client Details

The documentation for the crate is generated along with the code to make this library easy to use.

To install the library, add the following to your Cargo.toml file.

[dependencies]
hubspot-tickets = "0.1.0"

Basic example

Typical use will require intializing a Client. This requires a user agent string and set of credentials.

use hubspot_tickets::Client;

let client = Client::new(
    String::from("api-key"),
);

Alternatively, the library can search for most of the variables required for the client in the environment:

  • HUBSPOT_TICKETS_API_TOKEN

And then you can create a client from the environment.

use hubspot_tickets::Client;

let client = Client::new_from_env();
Commit count: 0

cargo fmt