shadertoy_client library
Shadertoy HTTP client.
Provides an implementation of the Shadertoy API allowing users to query both REST and site APIs.
Classes
- ShadertoyHttpOptions
- Base class for the http options
- ShadertoyHybrid
- An hybrid interface implementing both ShadertoySite and ShadertoyWS
- ShadertoyHybridClient
- A Shadertoy hybrid client
- ShadertoySite
- The base Shadertoy Client API for WS and site access to Shadertoy
- ShadertoySiteClient
- A Shadertoy site API client
- ShadertoySiteOptions
- Options for the Shadertoy Site API client
- ShadertoyWS
- The base Shadertoy Client API for WS access
- ShadertoyWSClient
- A Shadertoy REST API client
- ShadertoyWSOptions
- Options for the Shadertoy REST API client
- SyncTaskRunner
- The definition of a generic interface whose implementation is able to process synchronization tasks
Enums
- HybridSyncMode
- The sync mode of the hybrid client
Functions
-
newShadertoyHybridClient(
{String? user, String? password, String? cookieName, int? userShaderCount, int? playlistShaderCount, int? pageResultsShaderCount, int? pageUserShaderCount, int? pagePlaylistShaderCount, String? apiKey, String? apiPath, String? baseUrl, int? poolMaxAllocatedResources, int? poolTimeout, int? retryMaxAttempts, int? shaderCount, ErrorMode? errorHandling, Dio? client}) → ShadertoyHybrid - Creates ShadertoyHybrid backed by a ShadertoyHybridClient
-
newShadertoySiteClient(
{String? user, String? password, String? cookieName, int? userShaderCount, int? playlistShaderCount, int? pageResultsShaderCount, int? pageUserShaderCount, int? pagePlaylistShaderCount, String? baseUrl, int? poolMaxAllocatedResources, int? poolTimeout, int? retryMaxAttempts, int? shaderCount, ErrorMode? errorHandling, Dio? client}) → ShadertoySite - Creates ShadertoySite backed by a ShadertoySiteClient
-
newShadertoyWSClient(
String apiKey, {String? apiPath, String? baseUrl, int? poolMaxAllocatedResources, int? poolTimeout, int? retryMaxAttempts, int? shaderCount, ErrorMode? errorHandling, Dio? client}) → ShadertoyWS - Creates ShadertoyWS backed by the Shadertoy Rest API