You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-06 08:49:29 +02:00
Правки документации
This commit is contained in:
@@ -36,6 +36,6 @@ sidebar_position: 5
|
||||
|
||||
```json title="Result"
|
||||
|
||||
NOT JSON: 49 44 33 03 00 00 00 05 1F 76 54 49 54 32 00 00 00 0B 00 00 01 FF FE 44 00 6F 00 67 00 73 00 54 50 45 31 00 00 00 15 00 00 01 FF FE 4D 00 6F 00 74 00 6F 00 72 00 68 00 65 00 61 00 64 00 54 59…
|
||||
<Binary file's binary data>
|
||||
|
||||
```
|
||||
|
||||
@@ -19,7 +19,14 @@ sidebar_position: 11
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
TFN = GetTempFileName("png");
|
||||
FileCopy(Image, TFN);
|
||||
|
||||
ImageUpload = OPI_VK.UploadPhotoToServer(Image, Parameters);
|
||||
ImageUpload = OPI_VK.UploadPhotoToServer(TFN, Parameters);
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -21,7 +21,13 @@ sidebar_position: 10
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Parameters = GetVKParameters();
|
||||
Video = "C:/nature.mp4";
|
||||
Name = "NewVideo";
|
||||
Description = "Video description";
|
||||
|
||||
Result = OPI_VK.UploadVideoToServer(Video, Name, Description,, Parameters);
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -17,7 +17,9 @@ sidebar_position: 1
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Parameters = GetVKParameters();
|
||||
Result = OPI_VK.GetOrderList(Parameters);
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@ sidebar_position: 8
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Result = OPI_VK.GetProductDescription();
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -19,7 +19,9 @@ sidebar_position: 7
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Path = "/alpaca.png";
|
||||
Result = OPI_YandexDisk.DownloadFile(Token, Path);
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user