[][src]Crate opentdb

Modules

api_request
api_response
builder
enums

Functions

builder

Creates a new API Builder (strict by default)

send

Send a blocking Request and return the reqwest Response

send_and_parse

Send a blocking Request and return a parsed Api Response.

session_new

Retrieve a new API token

session_reset

Reset your session token

simple_builder

Creates a new API Builder (permissive: permits your custom values)

strict_builder

Creates a new API Builder (strict: requires use of library enums)