# Meego.GuideApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**guideLoginPost**](GuideApi.md#guideLoginPost) | **POST** /guide/login | Tour guide logs in inside the app using this endpoint.
[**guideRegisterPost**](GuideApi.md#guideRegisterPost) | **POST** /guide/register | Guide registers inside the app using this endpoint. This registration is subject to verification.
[**guideValidateEmailGet**](GuideApi.md#guideValidateEmailGet) | **GET** /guide/validateEmail | This validates the email of the tour guide for uniqueness


<a name="guideLoginPost"></a>
# **guideLoginPost**
> IdNameAddressStatePinCodeCountryCodePhoneEmailModel guideLoginPost(opts)

Tour guide logs in inside the app using this endpoint.

This should be unauthenticated.

### Example
```javascript
var Meego = require('meego');

var apiInstance = new Meego.GuideApi();

var opts = { 
  'emailPasswordModel': new Meego.EmailPasswordModel() // EmailPasswordModel | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.guideLoginPost(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **emailPasswordModel** | [**EmailPasswordModel**](EmailPasswordModel.md)|  | [optional] 

### Return type

[**IdNameAddressStatePinCodeCountryCodePhoneEmailModel**](IdNameAddressStatePinCodeCountryCodePhoneEmailModel.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="guideRegisterPost"></a>
# **guideRegisterPost**
> StatusCodeMessageModel guideRegisterPost(opts)

Guide registers inside the app using this endpoint. This registration is subject to verification.

This should be unauthenticated.

### Example
```javascript
var Meego = require('meego');

var apiInstance = new Meego.GuideApi();

var opts = { 
  'nameCountryCodePhoneAddressStatePinCodeAgeEmailPasswordModel': new Meego.NameCountryCodePhoneAddressStatePinCodeAgeEmailPasswordModel() // NameCountryCodePhoneAddressStatePinCodeAgeEmailPasswordModel | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.guideRegisterPost(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **nameCountryCodePhoneAddressStatePinCodeAgeEmailPasswordModel** | [**NameCountryCodePhoneAddressStatePinCodeAgeEmailPasswordModel**](NameCountryCodePhoneAddressStatePinCodeAgeEmailPasswordModel.md)|  | [optional] 

### Return type

[**StatusCodeMessageModel**](StatusCodeMessageModel.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="guideValidateEmailGet"></a>
# **guideValidateEmailGet**
> StatusCodeMessageModel guideValidateEmailGet(email)

This validates the email of the tour guide for uniqueness

This should be unauthenticated.

### Example
```javascript
var Meego = require('meego');

var apiInstance = new Meego.GuideApi();

var email = "email_example"; // String | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.guideValidateEmailGet(email, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **email** | **String**|  | 

### Return type

[**StatusCodeMessageModel**](StatusCodeMessageModel.md)

### Authorization

No authorization required

### HTTP request headers

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

