Skip to main content

A python wrapper for A3RT API

Project description

# pya3rt

[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)

pya3rt is an API wrapper for A3RT in Python.

## A3RT
https://a3rt.recruit-tech.co.jp/
A3RT (art) is an abbreviation for "ANALYTICS & ARTIFICIAL INTELLIGENCE API VIA RECRUIT TECHNOLOGIES".A3RT is a collective name for solutions that are projected to unify and maintain the logic of fields called artificial intelligence, which is represented by Deep Learning and others, among machinery learning, to the inside of the company.

## API

* Text Suggest API
* Text Classification API
* Listing API
* Image Influence API
* Proofreading API
* Talk API

## Install

```
$ pip install pya3rt
```

## examples

### Text Suggest

```python
# -*- coding: utf-8 -*-
import pya3rt

apikey = "{YOUR_API_KEY}"
client = pya3rt.TextSuggestClient(apikey)

print(client.text_suggest("馬"))
print(client.text_suggest("あき", style=1))
print(client.text_suggest("func", style=2))
```

### Text Classification

```python
# -*- coding: utf-8 -*-
import pya3rt

apikey = "{YOUR_API_KEY}"
client = pya3rt.TextClassificationClient(apikey)

print(client.classify("システムの企画から開発・運用まで幅広く関われます。"))
```

### Proofreading API

```python
# -*- coding: utf-8 -*-
import pya3rt

apikey = "{YOUR_API_KEY}"
client = pya3rt.ProofreadingClient(apikey)

print(client.proofreading("システムの企画から開発・運用まで幅広く関われます。"))
print(client.proofreading("システムの規格から開発・運用まで幅広く関われます。"))
```

### Image Influence API

```python
# -*- coding: utf-8 -*-
import pya3rt

apikey = "{YOUR_API_KEY}"
client = pya3rt.ImageInfluenceClient(apikey)

print(client.get_upload_url())
print(client.meat_score("meat1.jpeg", 1))
```

### Talk API

```python
# -*- coding: utf-8 -*-
import pya3rt

apikey = "mndQAOCHFawKjGpoDOIxjfDVBJ06P6xo"
client = pya3rt.TalkClient(apikey)

print(client.talk("おはよう"))
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pya3rt-1.1-py3-none-any.whl (7.2 kB) Copy SHA256 hash SHA256 Wheel py3 Apr 29, 2017
pya3rt-1.1.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Apr 29, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page