Skip to content

Commit 9607c0c

Browse files
committed
changed case in alchemy api constants
1 parent afc1eb3 commit 9607c0c

File tree

3 files changed

+313
-314
lines changed

3 files changed

+313
-314
lines changed

Examples/ServiceExamples/Scripts/ExampleAlchemyDataNews.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,9 @@ void Start()
7777
private IEnumerator Examples()
7878
{
7979
Dictionary<string, string> queryFields = new Dictionary<string, string>();
80-
queryFields.Add(Fields.ENRICHED_URL_RELATIONS_RELATION_SUBJECT_TEXT, "Obama");
81-
queryFields.Add(Fields.ENRICHED_URL_CLEANEDTITLE, "Washington");
82-
string[] returnFields = { Fields.ENRICHED_URL_ENTITIES, Fields.ENRICHED_URL_KEYWORDS };
83-
80+
queryFields.Add(Fields.EnrichedUrlRelationsRelationSubjectText, "Obama");
81+
queryFields.Add(Fields.EnrichedUrlCleanedtitle, "Washington");
82+
string[] returnFields = { Fields.EnrichedUrlEntities, Fields.EnrichedUrlKeywords };
8483
if (!_alchemyAPI.GetNews(OnGetNews, returnFields, queryFields))
8584
Log.Debug("ExampleAlchemyDataNews", "Failed to get news!");
8685

0 commit comments

Comments
 (0)