A library to simplify the use of EasyAPI.io.


License
MIT
Install
pip install easyapiio==0.1.30

Documentation

EasyAPI Python SDK

A library to simplify the use of EasyAPI.io JSON Objects.

Installing

Python 2.x

pip install easyapiio

Usage

EasyAPI Object

import easyapiio

EasyAPIObjectAPI = easyapiio.Object('YOUR_API_KEY', 'YOUR_APP_ID')

results = EasyAPIObjectAPI.create({ 'key': 'value' })

if (results['success'] == True):
  print ('Ya! Object created')
else:
  print (results['message'])

EasyAPI Files

import easyapiio

EasyAPIFileAPI = easyapiio.File('YOUR_API_KEY', 'YOUR_APP_ID')

results = EasyAPIFileAPI.upload(open('file.txt', 'rb'))

if (results['success'] == True):
  print ('Ya! File uploaded')
else:
  print (results['message'])

Uninstall

pip uninstall easyapiio