Skip to content

Commit

Permalink
doc: update
Browse files Browse the repository at this point in the history
  • Loading branch information
roslovets authored and actions-user committed Sep 16, 2023
1 parent 2b9e168 commit 2481dc0
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 2 deletions.
28 changes: 26 additions & 2 deletions docs/strapi_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

---

<a href="../strapi_client/strapi_client.py#L222"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../strapi_client/strapi_client.py#L249"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `process_data`

Expand All @@ -23,7 +23,7 @@ Process response with entries.

---

<a href="../strapi_client/strapi_client.py#L233"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../strapi_client/strapi_client.py#L260"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `process_response`

Expand Down Expand Up @@ -135,6 +135,30 @@ Get entry by id.

---

<a href="../strapi_client/strapi_client.py#L215"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `send_get_request`

```python
send_get_request(route: str) → dict
```

Send GET request to custom endpoint.

---

<a href="../strapi_client/strapi_client.py#L201"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `send_post_request`

```python
send_post_request(route: str, body: Optional[dict] = None) → dict
```

Send POST request to custom endpoint.

---

<a href="../strapi_client/strapi_client.py#L134"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `update_entry`
Expand Down
24 changes: 24 additions & 0 deletions docs/strapi_client_sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,30 @@ Get entry by id.

---

<a href="../strapi_client/strapi_client_sync.py#L113"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `send_get_request`

```python
send_get_request(route: str) → dict
```

Send GET request to custom endpoint.

---

<a href="../strapi_client/strapi_client_sync.py#L104"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `send_post_request`

```python
send_post_request(route: str, body: Optional[dict] = None) → dict
```

Send POST request to custom endpoint.

---

<a href="../strapi_client/strapi_client_sync.py#L71"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `update_entry`
Expand Down

0 comments on commit 2481dc0

Please sign in to comment.