Skip to content

OrganicityEu/OrganiCityTesterAPIapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OrganiCity API Tester Application

OrganiCity API Tester application is a Windows application which provides the basic functionality and C# code examples of OrganiCity platform APIs. By using this application, experimenters become familiar with:

  • Fundamental notions of Token, Client Id, Client Secret, Experimenter Id, Experiment Id, and Application Id.
  • Data structure of JSON objects.
  • Functionalities such as add, delete, update assets of a specific experiment.
  • Assets retrieval from OrganiCity sites by using the EaaS API.

Run the application

The necessary file to execute the application are located into the OrganiCityTesterAPI folder. To run the application, just double click on "OrganiCityClient.exe" file.

Using Tester

The following figures illustrates the functionalities of OrganiCity API Tester app. The application has three main screens/tabs: (a) post data to your experiment (tab1), (b) Learn OrganiCity data format, and (c) Get data from cities.

In the first tab, the user has to follow three main steps to post a new asset to a specific experiment. In the first step, the user is able to request and get an access token by providing Clientid, ClientSecret. Then, the user has to fill the details of the experiment (ExperimenterId, ExperimentId, ApplicationId). In the last step (i.e. step 3), the user can post a new asset to the specific experiment by pressing the “Post Random Asset” button.

Alt text

In the second tab, the user can generate random assets by pressing the “Generate Random Asset” button. The textbox below presents the structure of the attributes and the required information from the system.

Alt text

The third tab illustrates the asset retrieval from EaaS API.

Alt text

Note: This application provides only examples of the OrganiCity APIs and it cannot be used as a tool to fulfil the requirements of an experiment.

About

This repository contains a windows application that allow new users to test the API of OrganiCity platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published