|
1 | 1 | # epiccore |
2 | | -REST API for interacting with EPIC (https://epic.zenotech.com) services. <br /> |
3 | | -Please note this API is in BETA and does not yet contain all EPIC functionality. |
| 2 | +REST API for interacting with EPIC (https://epic.zenotech.com) services. <br /> Please note this API is in BETA and does not yet contain all EPIC functionality. |
4 | 3 |
|
5 | 4 | This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: |
6 | 5 |
|
7 | 6 | - API version: v2 |
| 7 | +- Package version: 1.0.0 |
8 | 8 | - Build package: org.openapitools.codegen.languages.PythonClientCodegen |
9 | 9 |
|
10 | 10 | ## Requirements. |
11 | 11 |
|
12 | | -Python 3.4+ |
| 12 | +Python 2.7 and 3.4+ |
13 | 13 |
|
14 | 14 | ## Installation & Usage |
| 15 | +### pip install |
15 | 16 |
|
16 | | -You can install using: |
| 17 | +If the python package is hosted on a repository, you can install directly using: |
17 | 18 |
|
18 | 19 | ```sh |
19 | | -pip install epicore |
| 20 | +pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git |
20 | 21 | ``` |
| 22 | +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) |
| 23 | + |
| 24 | +Then import the package: |
| 25 | +```python |
| 26 | +import epiccore |
| 27 | +``` |
| 28 | + |
| 29 | +### Setuptools |
| 30 | + |
| 31 | +Install via [Setuptools](http://pypi.python.org/pypi/setuptools). |
| 32 | + |
| 33 | +```sh |
| 34 | +python setup.py install --user |
| 35 | +``` |
| 36 | +(or `sudo python setup.py install` to install the package for all users) |
21 | 37 |
|
22 | 38 | Then import the package: |
23 | 39 | ```python |
@@ -62,13 +78,13 @@ configuration = epiccore.Configuration( |
62 | 78 | with epiccore.ApiClient(configuration) as api_client: |
63 | 79 | # Create an instance of the API class |
64 | 80 | api_instance = epiccore.BillingApi(api_client) |
65 | | - |
| 81 | + |
66 | 82 | try: |
67 | 83 | api_response = api_instance.billing_limits_list() |
68 | 84 | pprint(api_response) |
69 | 85 | except ApiException as e: |
70 | 86 | print("Exception when calling BillingApi->billing_limits_list: %s\n" % e) |
71 | | - |
| 87 | + |
72 | 88 | ``` |
73 | 89 |
|
74 | 90 | ## Documentation for API Endpoints |
@@ -152,6 +168,7 @@ Class | Method | HTTP request | Description |
152 | 168 | - [Discount](docs/Discount.md) |
153 | 169 | - [EnvironmentVariable](docs/EnvironmentVariable.md) |
154 | 170 | - [File](docs/File.md) |
| 171 | + - [FileDetails](docs/FileDetails.md) |
155 | 172 | - [Folder](docs/Folder.md) |
156 | 173 | - [FolderDetails](docs/FolderDetails.md) |
157 | 174 | - [IaasCost](docs/IaasCost.md) |
@@ -225,5 +242,4 @@ Class | Method | HTTP request | Description |
225 | 242 |
|
226 | 243 | ## Author |
227 | 244 |
|
228 | | -support@zenotech.com |
229 | | - |
| 245 | +support@zenotech.com |
0 commit comments