You've already forked OpenIntegrations
							
							
				mirror of
				https://github.com/Bayselonarrend/OpenIntegrations.git
				synced 2025-10-30 23:47:46 +02:00 
			
		
		
		
	Дополнение документации сервисов Google
This commit is contained in:
		
							
								
								
									
										4
									
								
								docs/en/md/Instructions/Google_Calendar.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/en/md/Instructions/Google_Calendar.md
									
									
									
									
										vendored
									
									
								
							| @@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services | ||||
|  | ||||
|  | ||||
|  | ||||
| :::important | ||||
| **The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur | ||||
| ::: | ||||
|  | ||||
| 3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code) | ||||
|  | ||||
| ```json title="Result of the function GetTokenByCode() if converted to JSON" | ||||
|   | ||||
							
								
								
									
										4
									
								
								docs/en/md/Instructions/Google_Drive.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/en/md/Instructions/Google_Drive.md
									
									
									
									
										vendored
									
									
								
							| @@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services | ||||
|  | ||||
|  | ||||
|  | ||||
| :::important | ||||
| **The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur | ||||
| ::: | ||||
|  | ||||
| 3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code) | ||||
|  | ||||
| ```json title="Result of the function GetTokenByCode() if converted to JSON" | ||||
|   | ||||
							
								
								
									
										4
									
								
								docs/en/md/Instructions/Google_Sheets.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/en/md/Instructions/Google_Sheets.md
									
									
									
									
										vendored
									
									
								
							| @@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services | ||||
|  | ||||
|  | ||||
|  | ||||
| :::important | ||||
| **The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur | ||||
| ::: | ||||
|  | ||||
| 3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code) | ||||
|  | ||||
| ```json title="Result of the function GetTokenByCode() if converted to JSON" | ||||
|   | ||||
							
								
								
									
										4
									
								
								docs/ru/md/Instructions/Google_Calendar.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/ru/md/Instructions/Google_Calendar.md
									
									
									
									
										vendored
									
									
								
							| @@ -81,6 +81,10 @@ sidebar_class_name: GoogleCalendar | ||||
|  | ||||
|  | ||||
|  | ||||
| :::important | ||||
| **Время жизник кода крайне мало.** После его получения нужно выполнить шаг 3 максимально быстро. Лучше всего заранее подготовить обработку с полем для ввода и кнопкой (в 1С), либо же использовать CLI версию ОПИ. В случаее истечения срока жизни кода до выполнения пункта 3, будет получена ошибка `invalid_grant` | ||||
| ::: | ||||
|  | ||||
| 3. Используйте полученный код, ClientID и Client Secret для вызова функции OPI_GoogleWorkspace.ПолучитьТокенПоКоду(ClientID, ClientSecret, Code) | ||||
|  | ||||
| ```json title="Результат функции ПолучитьТокенПоКоду(), если перевести его в JSON" | ||||
|   | ||||
							
								
								
									
										4
									
								
								docs/ru/md/Instructions/Google_Drive.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/ru/md/Instructions/Google_Drive.md
									
									
									
									
										vendored
									
									
								
							| @@ -81,6 +81,10 @@ sidebar_class_name: GoogleDrive | ||||
|  | ||||
|  | ||||
|  | ||||
| :::important | ||||
| **Время жизник кода крайне мало.** После его получения нужно выполнить шаг 3 максимально быстро. Лучше всего заранее подготовить обработку с полем для ввода и кнопкой (в 1С), либо же использовать CLI версию ОПИ. В случаее истечения срока жизни кода до выполнения пункта 3, будет получена ошибка `invalid_grant` | ||||
| ::: | ||||
|  | ||||
| 3. Используйте полученный код, ClientID и Client Secret для вызова функции OPI_GoogleWorkspace.ПолучитьТокенПоКоду(ClientID, ClientSecret, Code) | ||||
|  | ||||
| ```json title="Результат функции ПолучитьТокенПоКоду(), если перевести его в JSON" | ||||
|   | ||||
							
								
								
									
										4
									
								
								docs/ru/md/Instructions/Google_Sheets.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/ru/md/Instructions/Google_Sheets.md
									
									
									
									
										vendored
									
									
								
							| @@ -81,6 +81,10 @@ sidebar_class_name: GoogleSheets | ||||
|  | ||||
|  | ||||
|  | ||||
| :::important | ||||
| **Время жизник кода крайне мало.** После его получения нужно выполнить шаг 3 максимально быстро. Лучше всего заранее подготовить обработку с полем для ввода и кнопкой (в 1С), либо же использовать CLI версию ОПИ. В случаее истечения срока жизни кода до выполнения пункта 3, будет получена ошибка `invalid_grant` | ||||
| ::: | ||||
|  | ||||
| 3. Используйте полученный код, ClientID и Client Secret для вызова функции OPI_GoogleWorkspace.ПолучитьТокенПоКоду(ClientID, ClientSecret, Code) | ||||
|  | ||||
| ```json title="Результат функции ПолучитьТокенПоКоду(), если перевести его в JSON" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user