## LargeAPI


A class with many methods that would normally be split.


Usage


``` python
LargeAPI(base_url)
```


With inline_methods: true, all methods stay on the class page regardless of count.


## Parameters


`base_url: str`  
The API base URL.


## Methods

| Name | Description |
|----|----|
| [authenticate()](#authenticate) | Set authentication token. |
| [delete()](#delete) | Perform a DELETE request. |
| [get()](#get) | Perform a GET request. |
| [head()](#head) | Perform a HEAD request. |
| [options()](#options) | Perform an OPTIONS request. |
| [patch()](#patch) | Perform a PATCH request. |
| [post()](#post) | Perform a POST request. |
| [put()](#put) | Perform a PUT request. |

------------------------------------------------------------------------


#### authenticate()


Set authentication token.


Usage


``` python
authenticate(token)
```


##### Parameters


`token: str`  
Bearer token for authentication.


------------------------------------------------------------------------


#### delete()


Perform a DELETE request.


Usage


``` python
delete(endpoint)
```


##### Parameters


`endpoint: str`  
The API endpoint path.


##### Returns


`bool`  
True if deletion was successful.


------------------------------------------------------------------------


#### get()


Perform a GET request.


Usage


``` python
get(endpoint)
```


##### Parameters


`endpoint: str`  
The API endpoint path.


##### Returns


`dict`  
Response data.


------------------------------------------------------------------------


#### head()


Perform a HEAD request.


Usage


``` python
head(endpoint)
```


##### Parameters


`endpoint: str`  
The API endpoint path.


##### Returns


`dict`  
Response headers.


------------------------------------------------------------------------


#### options()


Perform an OPTIONS request.


Usage


``` python
options(endpoint)
```


##### Parameters


`endpoint: str`  
The API endpoint path.


##### Returns


`list`  
Allowed methods.


------------------------------------------------------------------------


#### patch()


Perform a PATCH request.


Usage


``` python
patch(endpoint, data)
```


##### Parameters


`endpoint: str`  
The API endpoint path.

`data: dict`  
Partial update payload.


##### Returns


`dict`  
Response data.


------------------------------------------------------------------------


#### post()


Perform a POST request.


Usage


``` python
post(endpoint, data)
```


##### Parameters


`endpoint: str`  
The API endpoint path.

`data: dict`  
Request body payload.


##### Returns


`dict`  
Response data.


------------------------------------------------------------------------


#### put()


Perform a PUT request.


Usage


``` python
put(endpoint, data)
```


##### Parameters


`endpoint: str`  
The API endpoint path.

`data: dict`  
Request body payload.


##### Returns


`dict`  
Response data.
