CSCI 201 – Fall 2023 Assignment 3
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit
CSCI 201 - Fall 2023
Assignment 3
How to Search Yelp using YELP Fusion API Key
To get a Yelp fusion API key, please follow these steps:
● Create a new account at:
● Login to Yelp
● Goto Create a new App at:
https://www.yelp.com/developers/v3/manage_app
● In the Create New App form, enter information about the app and click Create New App.
● Goto the Manage App on the left panel and you will seeyour Client ID and API Key.
● The Yelp Fusion API documentation can be found at:
https://docs.developer.yelp.com/docs/fusion-intro
● Use the Yelp Businesses Search API documented at:
https://docs.developer.yelp.com/reference/v3_business_search
● Search using term, latitude and longitude.
● Add Authentication headers. with documentation found at:
https://docs.developer.yelp.com/docs/fusion-authentication
● Use Authentication Headers: put the API key inside of the request header as “Authorization: Bearer <YOUR API KEY>” and make requests against the API.
● API Usage limits are shown below.
● Use class HttpURLConnection, documented at:
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/HttpURLConnection. html
2023-10-31
How to Search Yelp using YELP Fusion API Key