mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-14 06:38:11 +09:00
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [APIClient](./iceshrimp-js.api.apiclient.md)
|
||
|
|
||
|
## api.APIClient class
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
export declare class APIClient
|
||
|
```
|
||
|
|
||
|
## Constructors
|
||
|
|
||
|
| Constructor | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [(constructor)(opts)](./iceshrimp-js.api.apiclient._constructor_.md) | | Constructs a new instance of the <code>APIClient</code> class |
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Modifiers | Type | Description |
|
||
|
| --- | --- | --- | --- |
|
||
|
| [credential](./iceshrimp-js.api.apiclient.credential.md) | | string \| null \| undefined | |
|
||
|
| [fetch](./iceshrimp-js.api.apiclient.fetch.md) | | [FetchLike](./iceshrimp-js.api.fetchlike.md) | |
|
||
|
| [origin](./iceshrimp-js.api.apiclient.origin.md) | | string | |
|
||
|
|
||
|
## Methods
|
||
|
|
||
|
| Method | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [request(endpoint, params, credential)](./iceshrimp-js.api.apiclient.request.md) | | |
|
||
|
|