rewe 0.2.1

A rewe mobile api implementation for rust
Documentation
1
2
3
4
5
6
use crate::{models::market::ShopServices, errors::ReweError, paths::ApiPath};

/// Search for markets by zip code
pub async fn get_shop_services(zip_code: &str) -> Result<ShopServices, ReweError> {
    ApiPath::ShopServices.get(&[("zipCode", zip_code)], None).await
}