Skip to content

Commit 09e7879

Browse files
committed
API Notes
- Google API - Confluence API
1 parent 78f0045 commit 09e7879

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

content/Tools/API Notes.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
Author:
3+
- Xinyang YU
4+
Author Profile:
5+
- https://linkedin.com/in/xinyang-yu
6+
tags:
7+
- programming
8+
- networking
9+
Creation Date: 2024-12-17, 16:01
10+
Last Date: 2024-12-17T16:09:41+08:00
11+
References:
12+
draft:
13+
description:
14+
---
15+
16+
## Google API
17+
---
18+
- We can use a **service account** to access Google APIs programmatically. To grant permissions to files for the service account, we can simply add the service account email to the file's sharing settings
19+
20+
>[!tool] Google Sheets API
21+
> To interact with the Google Sheets API, we need to provide the **spreadsheet ID** and the **range**. The range consists of the **sheet name** and the desired cell range. For example, `Sheet1!A1:Z10000` refers to the range of cells from `A1` to `Z10000` in `Sheet1`.
22+
23+
24+
## Confluence API
25+
---
26+
- To retrieve a specific Confluence page, we first need to obtain its **page ID**. The process involves fetching the page's metadata and then using it to retrieve the page content

0 commit comments

Comments
 (0)