Visit Like a New Yorker

August 27, 2019 - All

Why am I interested in this topic? This project is based on personal interest.My new yorker story started from fall 2018, my friends visited me when they know I arrived, I am new here, and I was so new that I could not give them too much advice on places to visit,restaurant to check out… After nine months, I started to know something about this city, I want to create a customized city guide, instead of checking google or yelp every time.I tried to asked myself this question, what’s your impression about New York. The first thing comes into my mind is homeless and fire trucks… No, it’s the price tag, so expensive, we call it tag shock.When did I feel better about this situation?The first time I went into Trader Joe’s, 9pm,it was in basement floor People are in long lines paying for organic foods more affordable. It’s now because the price is low,it’s lower, but because I see people like me, and even people go to work here when they get of from work,They still shop grocery like me. More recently, I started to love trader joe’s premade salad and it’s only four dollars. I also found that, people here eat outside not necessarily means go to a restaurant, people would bring their brown bags and sit at a park, some with their dogs, when it is not raining. So how about rainy days, yes, visiting museums and galleries is a good choice here in New York, as New York is famous for its artistic and cultural environment. Gif credit: Christoph Niemann for The New Yorker magazine After visiting museums, if my visitors don’t like Chinese food here tasting too tangy, I’ll bring them to Izakaya, the japanese restaurant with sake and teppanyaki. These are the four categories discussed in this project: Trader Joe’s Parks Museums Izakaya Where did I request data from? When I try to combine all these together, there’s one good thing about big cities, they use the same apps. So I come to Yelp API and hope that I can generate results from the dataset instead of clicking for researches and mark them down every time. So I turn to Google, searched Yelp and chose the link with developers. Yelp has a name fusion for the place where holding all the APIs. And there are three endpoints of business, event and category, since I am going to request information about businesses, so I used the first one most of time. What obstacle have I overcome? There’s one thing I would like to mention here about the API key, is that Compared to what I did for another project with New York TImes API article search, they have different ways of holding api keys in urls. For nyts it is simple I just need to put ampersand followed by api-key equals and the long serial number.

› tags: culture / programming / python /