terminal-africa
Version:
## Introduction The Terminal Shipping API (TShip) provides a single interface for integrating shipping carriers within your applications. The API allows anyone to programatically get shipping rates and arrange pickup and delivery.
24 lines (23 loc) • 713 B
TypeScript
export default class Location {
/**
* Get Countries - This allows you to fetch countries on Terminal Africa
* @returns object
* @method GET
*/
static countries(): Promise<any>;
/**
* Get States - This allows you to fetch list of states on Terminal Africa
* @param {string} countryCode
* @returns object
* @method GET
*/
static states(countryCode: string): Promise<any>;
/**
* Get Cities - This allows you to fetch list of cities on Terminal Africa
* @param {string} countryCode
* @param {string=} stateCode
* @returns object
* @method GET
*/
static cities(countryCode: string, stateCode?: string): Promise<any>;
}