Skip to content

Commit

Permalink
fix: docs and trigger release
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed May 4, 2023
1 parent 3537409 commit c636823
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ yarn add @trieb.work/zoho-ts
```
npm i @trieb.work/zoho-ts
```
```
pnpm i @trieb.work/zoho-ts
```

## Usage on server
Make sure to select the correct datacenter for your API client credentials: e.g. ".com" or ".eu".
Expand Down Expand Up @@ -44,11 +47,12 @@ const zoho = new Zoho(
You can decide, which API to use - Zoho Inventory, Zoho Books, Zoho Invoice. Currently, you can only decide per instance. It is planned
to make it possible to decide which API to use on function level.

### Authentication
### Authentication with OAuth
The library on the server should be used with a client ID and a client secret, that you can register at the developer console: https://api-console.zoho.eu/ (Self Client)


## Usage in Browser Context (use cookies for auth)
The library can run in the browser as well (for example with browser extensions)

```
import { Zoho, ZohoApiClient } from "@trieb.work/zoho-ts";
Expand Down

0 comments on commit c636823

Please sign in to comment.