@flipdish/api-client-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.1.917 • Public • Published

@flipdish/api-client-typescript

Typescript Flipdish API client

Installation

npm install @flipdish/api-client-typescript --save
yarn add @flipdish/api-client-typescript
bower install @flipdish/api-client-typescript --save

Usage

TypeScript

import { StoresApi } from '@flipdish/api-client-typescript';

let storesApi = new StoresApi();
storesApi.accessToken = '<your_access_token>';
storesApi.getStores('mexican cafe', 1, 20)
.then(response => {
        response.body.Data.map(store => console.log(store));
    }).catch(error => {
        console.error(error);    
    });

Package Sidebar

Install

npm i @flipdish/api-client-typescript

Weekly Downloads

484

Version

1.1.917

License

Unlicense

Unpacked Size

5.31 MB

Total Files

10

Last publish

Collaborators

  • flipdish_developers
  • jamyspex
  • blaawolf