Metadata-Version: 2.1
Name: diario
Version: 0.1.2
Summary: DIARIO SDK
Home-page: https://diario.e-paths.com/index.html
Author: ElevenPaths
Author-email: innovationlab@11paths.com
License: UNKNOWN
Keywords: sdk,api,diario
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: sdklib (==1.10.3)
Requires-Dist: PySocks

### DIARIO Python SDK ###

DIARIO bridges a natural gap that antiviruses do not usually match. DIARIO is not intended to replace antiviruses, but to cover the gap with fresh samples: DIARIO is especially good detecting them. DIARIO helps detect fresh malware without compromising your privacy or sharing content.



#### Prerequisites ####

* Python 3 or 2.7+


* A valid account in DIARIO (https://diario.e-paths.com/index.html) in order to get a **APP_ID** and **SECRET_KEY** keys (Registration is FREE).


#### Installation ####

```
    pip install diario
```


#### Minimal usage ####


* Create a DIARIO object with the "Application ID" and "Secret" previously obtained.
```
    from diario import Diario
	api = Diario("APP_ID_HERE", "SECRET_KEY_HERE")
```

* Call to DIARIO Server to do searches, upload and analyze documents, ...
```
	response = api.get_pdf_prediction('23203f9264161714cdb8d2f474b9b641e6a735f8cea4098c40a3cab87439d749')
```

* After every API call, get DIARIO response data and errors and handle them.
```
	response_data = response.get_data()
	response_error = response.get_error()
```

#### REST API specification ####

* Rest API documentation (https://diario.e-paths.com/api-specification.html).

