Commit f75d11dc authored by Amira Abdel-Rahman's avatar Amira Abdel-Rahman
Browse files

AM216 FINAL PROJECT

parent d9fe5768
Pipeline #19764 passed with stage
in 34 seconds
......@@ -46,10 +46,13 @@
var form = document.getElementById('basic-form');
var ACCESS_TOKEN = "sl.BGviryDjQhu6utc8dYNFgdL9qyZuhKDji159P5C1rXja2MPu1tuDseCRWM_-FFDbC_ZNWi90ALgmOwBQ-e0a2QbwIIiYJK1-hSuOTW19Sis6DgKIjbraEbsxfRQYYFd14mlinn8X";
var ACCESS_TOKEN = "sl.BGyWYErue6-qWSvHaua_RIFs-_ZIM25eIgsIIwaa1htf7Ws2cmM8Lk5O5fOc5qFNs5hvNYUC8KPH1OcKH4f3kO-4E8cINyJBKWDoZxxeHH80pGoHZm9lvB8Y1EY2rZ6tFVZrBBNGXIPA";
// sl.BGuEFWMTjnEwFTZX9XQSsRBws6FBqyF305o_ht5iXWIBYAfFUVH7U6jocvUzLPreM_kjT2EvVHa89cuIBW3Dp6vZb1MPh7rgEVaxdU9mWGNfulWpOEufrePppUpVA0Li0mSVLYkE
// var dbx = new Dropbox.Dropbox({ clientId: "7tg05bolybxwg28",clientSecret:"cnfue8jlho2dbmk" });
var dbx = new Dropbox.Dropbox({ accessToken: ACCESS_TOKEN });
dbx.filesListFolder({path: 'id:3rLnCv96uAAAAAAAAAy7Pg'})
dbx.filesListFolder({path: ''})
.then(function(response) {
console.log('response', response)
displayFiles(response.result.entries);
......@@ -57,6 +60,15 @@
.catch(function(error) {
console.error(error);
});
// dbx.filesListFolder({path: 'id:3rLnCv96uAAAAAAAAAy7Pg'})
// .then(function(response) {
// console.log('response', response)
// displayFiles(response.result.entries);
// })
// .catch(function(error) {
// console.error(error);
// });
// form.onsubmit = function listFiles(e) {
// e.preventDefault();
......
......@@ -50,7 +50,7 @@
gui.add(interaction,'number').listen();
gui.add(interaction,'run').listen();
var ACCESS_TOKEN = "sl.BGt8JKOKIZLOGHbIuVThMS171TeNJMV3_C3Ro0cRi-jrCW5yJZL5z8iizPTdvKJnpVNeDGNsCYkBHg6JpmiqKz74zYcuG_8psepGn-fm6cMUI7PRgTtyFHx4atUKIFxigQr7DuuU";
var ACCESS_TOKEN = "sl.BGwXNxVqBsQdIeQr6JFLYMCT_v0sHK45Pw1cNnywtK1uReLZx6-bf98oq2kkujuBWdMpWz5E_U8s5VprgdPxr5p_ewt52UBJPP9IIfXMy1K1Ah31Gksbh0LJxcgvwJmGcrldO13u";
var dbx = new Dropbox.Dropbox({ accessToken: ACCESS_TOKEN });
// console.log(dbx.filesListFolder({path: 'id:3rLnCv96uAAAAAAAAAy7Pg'}).result)
......@@ -150,8 +150,10 @@
}
}
}
$.getJSON("https://github.com/amirabdelrahman/AM216_Final_Project_Data/blob/main/chiral_v.json", function(json0) {
console,log(json0)
});
function show(){
// var name=interaction.name;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment