Last Release Version: v0.1.0 Last Release Date: September 5th, 2018
- Python 3.7+
- Linux/Unix Instance
- Aareys_Main.py <ip_address> <port_no> (In the ip_address creates the <port_no> & listens for clients)
- Aareys_Main.py (In the 127.0.0.1 ip creates the 2019 as default port & listens for clients)
- http://127.0.0.1:2018/server/info/version/
- http://127.0.0.1:2018/list/create/listName/item
- http://127.0.0.1:2018/list/insertItem/listName/item
- http://127.0.0.1:2018/list/updateItem/listName/item
- http://127.0.0.1:2018/list/getAllItem/listName
- http://127.0.0.1:2018/list/findItem/listName/item
- http://127.0.0.1:2018/list/getAll/
- http://127.0.0.1:2018/list/deleteItem/listName/item
- http://127.0.0.1:2018/list/delete/listName/
- http://127.0.0.1:2018/list/deleteAll/
- http://127.0.0.1:2018/queue/create/queueName/item
- http://127.0.0.1:2018/queue/put/queueName/item
- http://127.0.0.1:2018/queue/get/queueName
- http://127.0.0.1:2018/queue/isEmpty/queueName
- http://127.0.0.1:2018/queue/getAll/
- http://127.0.0.1:2018/queue/deleteItem/
- http://127.0.0.1:2018/queue/delete/queueName
- http://127.0.0.1:2018/queue/deleteAll/
- socket
- threading
- socketserver
- queue
- import urllib2
- import json
- import os, time
- def callRequest(urlStr):
-
response = urllib2.urlopen(urlStr)
-
#print response.info()
-
jsonString = response.read()
-
response.close()
-
dictdump = json.loads(jsonString)
-
return dictdump['response']
-
response = callRequest('http://127.0.0.1:2018/server/info/version/')
-
print response