Skip to content

Commit

Permalink
Merge branch 'master' of github.com:fleetbase/fleetbase-js
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Oct 14, 2021
2 parents b7c8291 + 07cc94f commit 9e523ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ If you would like to make contributions to the Fleetbase Javascript SDK document

## Quick Start for Browser

```
```js
import Fleetbase from '@fleetbase/sdk';

const fleetbase = new Fleetbase('Your Public Key');

// create a place
const speceNeedle = await fleetbase.places.create({
name: 'Space Needle',
street1: '400 Broad Street,
street1: '400 Broad Street',
city: 'Seattle',
state: 'WA',
country: 'US'
Expand All @@ -58,15 +58,15 @@ const speceNeedle = await fleetbase.places.create({

## Quick Start for Node

```
```js
import Fleetbase from '@fleetbase/sdk';

const fleetbase = new Fleetbase('Your Secret Key');

// create a place
const speceNeedle = await fleetbase.places.create({
name: 'Space Needle',
street1: '400 Broad Street,
street1: '400 Broad Street',
city: 'Seattle',
state: 'WA',
country: 'US'
Expand All @@ -79,7 +79,7 @@ You're able to create a custom adapter to handle network request in the Fleetbas
The Fleetbase SDK ships with two standard adapters. The BrowserAdapter which is based on `fetch()` and
the NodeAdapter based on axios.

```
```js
import { Adapter } from '@fleetbase/sdk';

class CustomAdapter extends Adapter {
Expand Down

0 comments on commit 9e523ac

Please sign in to comment.