|
1 | 1 | ---
|
2 |
| -title: Analyze the Sentiment of News Headlines |
| 2 | +title: Analyze the sentiment of news headlines |
3 | 3 | description: Analyze the sentiment of news headlines retrieved for a user-specified topic from a free news API.
|
4 | 4 | labels: Apps Script, Sheets, Cloud Natural Language
|
5 | 5 | material_icon: Feed
|
@@ -28,17 +28,17 @@ To run this solution you need to get 2 API keys, one from the [Google Cloud Natu
|
28 | 28 | To get an API key for the Google Cloud Natural Language API, you must configure a Google Cloud Platform (GCP) project.
|
29 | 29 |
|
30 | 30 | 1. Create a new or use an existing GCP project.
|
31 |
| -1. Navigate to the [Google Cloud Platform console](https://console.cloud.google.com) |
| 31 | +1. Navigate to the [Google Cloud Platform console](https://console.cloud.google.com). |
32 | 32 | * If you create a new project:
|
33 | 33 | * Select your associated billing account.
|
34 | 34 | * Accept the defaults for organization and location.
|
35 | 35 | * Click **Create**, and then select the new project in the console.
|
36 |
| -1. At the top of the console, click <span class=”material-icons”>menu</span> <span aria-label="and then">></span> **APIs & Services**. |
| 36 | +1. At the top of the console, click Menu <span class=”material-icons”>menu</span> <span aria-label="and then">></span> **APIs & Services**. |
37 | 37 | 1. Click **+ Enable APIs and Services**.
|
38 | 38 | 1. Search for `Cloud Natural Language API`, and enable it.
|
39 | 39 | 1. On the left, click **Credentials** <span aria-label="and then">></span> **+ Create credentials**.
|
40 | 40 | 1. In the drop-down menu, select **API key**.
|
41 |
| - * Save this key to add to your Apps Script `Code.gs` file. |
| 41 | +1. Save this key to add to your Apps Script `Code.gs` file. |
42 | 42 |
|
43 | 43 | #### Register for the News API key
|
44 | 44 |
|
|
0 commit comments