Skip to content

PSUCompBio/nsfcareer-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSFCAREER.IO API Documentation

NSFCAREER.IO provides a brain simulation Applicatoin Programming Interface (API) that enables sensor users to pass the sensor data and get back brain simulation results. To do this, a python file is executed (simulation.py) that sends and receives the data form the nsfcareer.io cloud platform, This file can be called from the command line (e.g. using cygwin or powershell on windows), or can be called directly from with your sensor software platform. It does not use local computing resources - all simulations are run in the cloud (we currently use AWS). A HTML directory is created in the location from which you run the python file that eventually gets populated the results of the brain simulation. It is provided in a simple iframe so it can easily be incorporated into your own platform.

Obtain the brain simulation API:

Prerequisites:

The command given below is typically run from the command line or from within your own software platform or app. In order to do that we use python3 which needs some additional packages that can be installed using pip.

  • Python (version 3)
  • PIP - package manager for Python
  • Requests Module, download it using :
    • pip install numpy
    • pip install requests
    • pip install "requests[security]"
    • pip install yattag

API usage example from the command line (or from within your app):

python3 python_file/single_player.py --filename samples/sensor_data.xlsx --user sensor_company --password tusryd-tuGwud-8kinwu --endpoint https://nsfcareer.io/api/upload/sensor-file --selfie "Path to player selfie (optional)"

where samples/sensor_data.xlsx is an example sensor data. Some samples are placed in the directory nsfcareeer-api/samples. You can supply your own data as long as we know how to read it.

Contact Reuben Kraft at [email protected] if you have any questions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages