Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 993 Bytes

DestinationsApi.md

File metadata and controls

47 lines (27 loc) · 993 Bytes

Themeparks.DestinationsApi

All URIs are relative to https://api.themeparks.wiki/v1

Method HTTP request Description
getDestinations GET /destinations Get a list of supported destinations available on the live API

getDestinations

DestinationsResponse getDestinations()

Get a list of supported destinations available on the live API

Example

import Themeparks from 'themeparks';

let apiInstance = new Themeparks.DestinationsApi();
apiInstance.getDestinations().then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

Parameters

This endpoint does not need any parameter.

Return type

DestinationsResponse

Authorization

No authorization required

HTTP request headers

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