mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
25 lines
953 B
Markdown
25 lines
953 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [APIClient](./iceshrimp-sdk.api.apiclient.md) > [(constructor)](./iceshrimp-sdk.api.apiclient._constructor_.md)
|
||
|
|
||
|
## api.APIClient.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `APIClient` class
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
constructor(opts: {
|
||
|
origin: APIClient["origin"];
|
||
|
credential?: APIClient["credential"];
|
||
|
fetch?: APIClient["fetch"] | null | undefined;
|
||
|
});
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| opts | { origin: [APIClient](./iceshrimp-sdk.api.apiclient.md)<!-- -->\["origin"\]; credential?: [APIClient](./iceshrimp-sdk.api.apiclient.md)<!-- -->\["credential"\]; fetch?: [APIClient](./iceshrimp-sdk.api.apiclient.md)<!-- -->\["fetch"\] \| null \| undefined; } | |
|
||
|
|