Skip to content

Commit 04898ed

Browse files
committed
Updated sources
0 parents  commit 04898ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+11591
-0
lines changed

.gitignore

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
venv/
48+
.python-version
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
57+
# Sphinx documentation
58+
docs/_build/
59+
60+
# PyBuilder
61+
target/
62+
63+
#Ipython Notebook
64+
.ipynb_checkpoints

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2003-2018 Aspose Pty Ltd
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# GroupDocs.Annotation Cloud Python SDK
2+
Python package for communicating with the GroupDocs.Annotation Cloud API
3+
4+
## Requirements
5+
6+
Python 2.7 or 3.4+
7+
8+
## Installation
9+
Install `groupdocs-annotation-cloud` with [PIP](https://pypi.org/project/pip/) from [PyPI](https://pypi.org/) by:
10+
11+
```sh
12+
pip install groupdocs-annotation-cloud
13+
```
14+
15+
Or clone repository and install it via [Setuptools](http://pypi.python.org/pypi/setuptools):
16+
17+
```sh
18+
python setup.py install
19+
```
20+
21+
## Getting Started
22+
23+
Please follow the [installation procedure](#installation) and then run following:
24+
25+
```python
26+
# Import module
27+
import groupdocs_annotation_cloud
28+
29+
# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).
30+
app_sid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
31+
app_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
32+
33+
# Create instance of the API
34+
api = groupdocs_annotation_cloud.InfoApi.from_keys(app_sid, app_key)
35+
36+
try:
37+
# Retrieve supported file-formats
38+
response = api.get_supported_file_formats()
39+
40+
# Print out supported file-formats
41+
print("Supported file-formats:")
42+
for format in response.formats:
43+
print('{0} ({1})'.format(format.file_format, format.extension))
44+
except groupdocs_annotation_cloud.ApiException as e:
45+
print("Exception when calling get_supported_file_formats: {0}".format(e.message))
46+
```
47+
48+
## Licensing
49+
GroupDocs.Annotation Cloud Python SDK licensed under [MIT License](http://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-python/LICENSE).
50+
51+
## Resources
52+
+ [**Website**](https://www.groupdocs.cloud)
53+
+ [**Product Home**](https://products.groupdocs.cloud/annotation)
54+
+ [**Documentation**](https://docs.groupdocs.cloud/display/annotationcloud/Home)
55+
+ [**Free Support Forum**](https://forum.groupdocs.cloud/c/annotation)
56+
+ [**Blog**](https://blog.groupdocs.cloud/category/annotation)
57+
58+
## Contact Us
59+
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/annotation).
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
from __future__ import absolute_import
6+
7+
# import apis
8+
from groupdocs_annotation_cloud.apis.annotate_api import AnnotateApi, DeleteAnnotationsRequest, GetExportRequest, GetImportRequest, GetPdfRequest, PostAnnotationsRequest
9+
from groupdocs_annotation_cloud.apis.file_api import FileApi, CopyFileRequest, DeleteFileRequest, DownloadFileRequest, MoveFileRequest, UploadFileRequest
10+
from groupdocs_annotation_cloud.apis.folder_api import FolderApi, CopyFolderRequest, CreateFolderRequest, DeleteFolderRequest, GetFilesListRequest, MoveFolderRequest
11+
from groupdocs_annotation_cloud.apis.info_api import InfoApi, GetInfoRequest
12+
from groupdocs_annotation_cloud.apis.preview_api import PreviewApi, DeletePagesRequest, GetPagesRequest
13+
from groupdocs_annotation_cloud.apis.storage_api import StorageApi, GetDiscUsageRequest, GetFileVersionsRequest, ObjectExistsRequest, StorageExistsRequest
14+
15+
# import related types
16+
from groupdocs_annotation_cloud.auth import Auth
17+
from groupdocs_annotation_cloud.api_exception import ApiException
18+
from groupdocs_annotation_cloud.api_client import ApiClient
19+
from groupdocs_annotation_cloud.configuration import Configuration
20+
21+
# import models
22+
from groupdocs_annotation_cloud.models.annotation_info import AnnotationInfo
23+
from groupdocs_annotation_cloud.models.annotation_reply_info import AnnotationReplyInfo
24+
from groupdocs_annotation_cloud.models.disc_usage import DiscUsage
25+
from groupdocs_annotation_cloud.models.document_info import DocumentInfo
26+
from groupdocs_annotation_cloud.models.error import Error
27+
from groupdocs_annotation_cloud.models.error_details import ErrorDetails
28+
from groupdocs_annotation_cloud.models.file_versions import FileVersions
29+
from groupdocs_annotation_cloud.models.files_list import FilesList
30+
from groupdocs_annotation_cloud.models.files_upload_result import FilesUploadResult
31+
from groupdocs_annotation_cloud.models.format import Format
32+
from groupdocs_annotation_cloud.models.formats_result import FormatsResult
33+
from groupdocs_annotation_cloud.models.link import Link
34+
from groupdocs_annotation_cloud.models.link_element import LinkElement
35+
from groupdocs_annotation_cloud.models.object_exist import ObjectExist
36+
from groupdocs_annotation_cloud.models.page_images import PageImages
37+
from groupdocs_annotation_cloud.models.page_info import PageInfo
38+
from groupdocs_annotation_cloud.models.point import Point
39+
from groupdocs_annotation_cloud.models.rectangle import Rectangle
40+
from groupdocs_annotation_cloud.models.row_info import RowInfo
41+
from groupdocs_annotation_cloud.models.storage_exist import StorageExist
42+
from groupdocs_annotation_cloud.models.storage_file import StorageFile
43+
from groupdocs_annotation_cloud.models.annotation_api_link import AnnotationApiLink
44+
from groupdocs_annotation_cloud.models.file_version import FileVersion
45+
from groupdocs_annotation_cloud.models.page_image import PageImage

0 commit comments

Comments
 (0)