# openapi.api.MobileApi

## Load the API package
```dart
import 'package:openapi/api.dart';
```

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getHomePage**](MobileApi.md#gethomepage) | **GET** /api/mobile/home-page | Get Home Page


# **getHomePage**
> GetHomePageResponse getHomePage(categoryId)

Get Home Page

Returns 5 items of each of the following:   1- Discounts   2- Categories   3- Top Sales   4- Flash SalesPermissionsGuard   5- Featured Products

### Example
```dart
import 'package:openapi/api.dart';

final api = Openapi().getMobileApi();
final num categoryId = 8.14; // num | 

try {
    final response = api.getHomePage(categoryId);
    print(response);
} catch on DioError (e) {
    print('Exception when calling MobileApi->getHomePage: $e\n');
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **categoryId** | **num**|  | [optional] 

### Return type

[**GetHomePageResponse**](GetHomePageResponse.md)

### Authorization

No authorization required

### 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)

