Creating your own API

For todays class I created a simple API based on the bikeroute I use to go to NYU everyday. I looked up different geolocation (based on where I turn on the map) And Added them into a JSON file called bikedata.json

I also wanted to add them to a page. So I used the Google Map API to visualize the different point and connected them using the polyline function. The json file was pulled in using a local Jquery AJAX call.

Ideally I would have liked to have a moving object on the screen – but I had some trouble getting that to work.



Leave a Reply

Your email address will not be published. Required fields are marked *