2023-06-24 04:13:03 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2023-07-02 22:18:30 +00:00
|
|
|
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [APIClient](./firefish-js.api.apiclient.md)
|
2023-06-24 04:13:03 +00:00
|
|
|
|
|
|
|
## api.APIClient class
|
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare class APIClient
|
|
|
|
```
|
|
|
|
|
|
|
|
## Constructors
|
|
|
|
|
|
|
|
| Constructor | Modifiers | Description |
|
|
|
|
| --- | --- | --- |
|
2023-07-02 22:18:30 +00:00
|
|
|
| [(constructor)(opts)](./firefish-js.api.apiclient._constructor_.md) | | Constructs a new instance of the <code>APIClient</code> class |
|
2023-06-24 04:13:03 +00:00
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
|
|
| --- | --- | --- | --- |
|
2023-07-02 22:18:30 +00:00
|
|
|
| [credential](./firefish-js.api.apiclient.credential.md) | | string \| null \| undefined | |
|
|
|
|
| [fetch](./firefish-js.api.apiclient.fetch.md) | | [FetchLike](./firefish-js.api.fetchlike.md) | |
|
|
|
|
| [origin](./firefish-js.api.apiclient.origin.md) | | string | |
|
2023-06-24 04:13:03 +00:00
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
|
|
| Method | Modifiers | Description |
|
|
|
|
| --- | --- | --- |
|
2023-07-02 22:18:30 +00:00
|
|
|
| [request(endpoint, params, credential)](./firefish-js.api.apiclient.request.md) | | |
|
2023-06-24 04:13:03 +00:00
|
|
|
|