Metadata-Version: 2.1
Name: finter
Version: 0.0.7
Summary: FINTER API
Home-page: UNKNOWN
Author: Quantit <finter_support@quantit.io>
Author-email: 
License: UNKNOWN
Keywords: Swagger,FINTER API
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: urllib3 (>=1.15)
Requires-Dist: six (>=1.10)
Requires-Dist: certifi
Requires-Dist: python-dateutil

# Finter API client Package

## Overview
*Python client SDK for finter platform*

- You can get Authorization of finter API with authToken.
   - Type: API key
   - API key parameter name: Authorization
   - Location: HTTP header
- This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
- Please contact with [finter_support@quantit.io](finter_support@quantit.io) if you have any problems, troubles, ... etc.

## Requirements.
Python 2.7 and 3.4+

## Installation & Usage

```sh
pip install finter
```

Then import the package:
```python
import finter 
```

## Getting Started

Please follow the installation procedure and then run the following:

### Get CM Example

```python
from __future__ import print_function
import time
import finter
from finter.rest import ApiException
from pprint import pprint
# Configure API key authorization: tokenAuth
configuration = finter.Configuration()
# Token-based authentication with required prefix "Token"
configuration.api_key['Authorization'] = 'Token YOUR_API_KEY'

# create an instance of the API class
api_instance = finter.ContentApi(finter.ApiClient(configuration))
code_format = 'code_format_example' # str | data column code format (optional)
end = 'end_example' # str | data end date (optional)
identity_name = 'identity_name_example' # str | content model identity name (required)
tail = 56 # int | data tail row number (optional)

try:
    api_response = api_instance.content_model_retrieve(code_format=code_format, end=end, identity_name=identity_name, tail=tail)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContentApi->content_model_retrieve: %s\n" % e)
```

### Get Metafund Model Example

```python
from __future__ import print_function
import time
import finter
from finter.rest import ApiException
from pprint import pprint
# Configure API key authorization: tokenAuth
configuration = finter.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'

# create an instance of the API class
api_instance = finter.MetafundApi(finter.ApiClient(configuration))
code_format = 'code_format_example' # str | data column code format (optional)
forward_fill = true # bool |  (optional)
metafund_name = 'metafund_name_example' # str |  (required)

try:
    api_response = api_instance.metafund_model_retrieve(code_format=code_format, forward_fill=forward_fill, metafund_name=metafund_name)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MetafundApi->metafund_model_retrieve: %s\n" % e)
```

**You can apply same code frame to use other endpoints.**

