Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pynasne

python wrapper for nasne's REST API in LAN

Requirements

  • python 3.5 or later

Install

$ python setup.py install

Usage

Run script in intranet with nasne

import pynasne

nasne = pynasne.Nasne('<nasne IP Address>')

# get json of nasne name
nasne.get_box_name()

# get json of nasne status
nasne.get_box_status_list()

# get json of REC titles
nasne.get_title_list()

# get json of HDD total, usage and free volume size
nasne.get_hdd_usage_info()

# get json of REC errors
nasne.get_rec_ng_list()

# get json of reserved titles in 24 hours from now
nasne.get_reserved_title_list()

Test

$ pip install nose coverage mock
$ nosetests

License

MIT

About

Nasne's REST API python wrapper

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages