spatio-sdk 0.0.2

Rust SDK for the SpatioAPI. Generated from the official OpenAPI spec.
Documentation
# \LogosApi

All URIs are relative to *https://api.spatio.app*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_domain_logo**]LogosApi.md#get_domain_logo | **GET** /v1/logos/domain/{domain} | Resolve a domain to its logo URL (CDN-cached 24h).
[**get_email_logo**]LogosApi.md#get_email_logo | **GET** /v1/logos/email/{email} | Resolve an email address to its domain logo URL.
[**get_logos_batch**]LogosApi.md#get_logos_batch | **POST** /v1/logos/batch | Batch-resolve a list of domains/emails to logo URLs in one call.



## get_domain_logo

> models::GetDomainLogo200Response get_domain_logo(domain)
Resolve a domain to its logo URL (CDN-cached 24h).

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**domain** | **String** |  | [required] |

### Return type

[**models::GetDomainLogo200Response**](getDomainLogo_200_response.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_email_logo

> std::collections::HashMap<String, serde_json::Value> get_email_logo(email)
Resolve an email address to its domain logo URL.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**email** | **String** |  | [required] |

### Return type

[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_logos_batch

> std::collections::HashMap<String, serde_json::Value> get_logos_batch(request_body)
Batch-resolve a list of domains/emails to logo URLs in one call.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**request_body** | [**std::collections::HashMap<String, serde_json::Value>**]SerdeJson__Value.md |  | [required] |

### Return type

[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)