EIA1981 / Groupprojectone

0 stars 0 forks source link

pushing hotel-food-drink module files to master #21

Closed shorefooted closed 5 years ago

shorefooted commented 5 years ago

this has the following files to run a test environment (working code to demo) the hotel, food, and drink module that brings back the data from foursquare queries:

  1. Hotel-Food-Drink.html
  2. H-F-D.js (assets/javascript)
  3. keys.js (assets/javascript)
  4. H-F-D.css (assets/css)

This test environment module duplicates Robert's work in bringing back a searched band's tour (with bandsintown.com) only to pass a longitude and latitude variable ("ll") to 3 search functions to return data from Foursquare.com's API for Hotels, Restaurants (food), and Bars (drink) in a 5 mile radius of the tour date location. I documented the H-F-D.js file extensively so everyone can follow it. It is based on the activities and demos and at times, replaces javascript with jQuery for shorthand and is noted. A new thing -- storing values from an "inside" a function variable ("ll") inside of a

element was a way to make it global efficiently and this is noted.

I am very busy today because not only do I work, but I have to worship tonight because it is a Jewish holiday technically for 2 days -- but I am only doing it this evening.

If Robert and Claudia can follow my notes and maybe make progress on passing the latitude and longitude values from Robert's ticketmaster API query to my 3 Foursquare gueries, that would be awesome. Keep me updated via slack and merging code on the master it you do it. I will be back on it later tonight and Thursday morning and in class. But at the very least understand what we are trying to accomplish with making Claudia's "Hotel", "Restaurants" and "Bar" buttons and display functional through this code.