Skip to content

Commit

Permalink
Docs: Update code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Westy Larsen committed Dec 4, 2018
1 parent 9c7693a commit 4b40a21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The trustpilot module is async/await based. It provides [request-promise-native]
### Basic Usage

```ts
import { TrustpilotApi } from "./trustpilot-api";
import { TrustpilotApi } from "trustpilot";

async run() {
const client = new TrustpilotApi({
Expand All @@ -45,7 +45,7 @@ For calls authentified by OAuth token, use the `authenticate()` promise, which r
object with everything you need.

```ts
import { TrustpilotApi } from "./trustpilot-api";
import { TrustpilotApi } from "trustpilot";

async run() {
const client = await new TrustpilotApi({
Expand All @@ -70,7 +70,7 @@ async run() {
The Invitations API methods have a different base URL. To override it, simply pass the `baseUrl`.

```ts
import { TrustpilotApi } from "./trustpilot-api";
import { TrustpilotApi } from "trustpilot";

async run() {
const client = await new TrustpilotApi({
Expand Down

0 comments on commit 4b40a21

Please sign in to comment.