Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Add support for /data/GetNews #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kauffecup
Copy link

This change does the following:

  • Add referenced endpoints for /data/GetNews
  • Add method for news that takes start, end, timeSlice, maxResults, and q
  • Add support for "GET" in analyze (might be a little hacky - just let me know)
  • Replace manually building of query string to using the npm module qs - this supports nested JSON. For example { a: { b: 'c' } } becomes a.b=c (necessary for the queries that Alchemey supports)

This change does the following:
  - Add referenced endpoints for `/data/GetNews`
  - Add method for `news` that takes start, end, timeSlice, maxResults, and q
  - Add support for "GET" in analyze (might be a little hacky - just let me know)
  - Replace manually building of query string to using the npm module qs - this supports nested JSON. For example `{ a: { b: 'c' } }` becomes `a.b=c` (necessary for the queries that Alchemey supports)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant