This repository contains the source code of Examplore. Please refer to our CHI 2018 paper Visualizing API Usage at Scale for details.
- Install Meteor
- Go to the
meteor_app
folder and install pycollections and babel-runtime
$ meteor npm install --save pycollections
$ meteor npm install --save babel-runtime
- Install MongoDB If your OS is Ubuntu, run the following command in the terminal.
$ sudo apt-get install mongodb-clients
Note: If your OS is MacOS, install MongoDB using Homebrew (Tutorial).
- If this is the first time you run Examplore, open
meteor_app/server/main.js
and change the value ofreload
totrue
(line 14). Do not forget to change it back afterwards. Otherwise it will load the same dataset twice. In addition, if you want to load the dataset for another API, change the json file name at line 18. - In the terminal,
cd
into themeteor_app
folder and then executemeteor
command. - Open the app at http://localhost:3000
By default, Examplore only loads the dataset of the Android API method, Activity.findViewById
. We have prepared datasets for 100 popular API methods in Java and Android. You can find them in meteor_app/private/
. To load the dataset of a different API method, you need to manually change the dataset name to the corresponding json file name in meteor_app/private/
at line 18 in meteor_app/server/main.js
(make sure the value of reload
is set to true
at line 14).