Interface: Info

Info

Miscellaneous data.

Methods

<static> topics(topic) → {Object|String}

/topics/:topic

Get color codes for relevant topics

Parameters:
Name Type Argument Description
topic string <optional>

topic to fetch color for

See:
  • /topics/nyheder
  • /topics/
Returns:

Object of topic colors, or single color for given topic.

Type
Object | String

<static> topics(topic) → {Object|String}

/topics/:topic

Get color codes for relevant topics

Parameters:
Name Type Argument Description
topic string <optional>

topic to fetch color for

See:
  • /topics/nyheder
  • /topics/
Returns:

Object of topic colors, or single color for given topic.

Type
Object | String

Interface: Info

Info

Miscellaneous data.

Methods

<static> topics(topic) → {Object|String}

/topics/:topic

Get color codes for relevant topics

Parameters:
Name Type Argument Description
topic string <optional>

topic to fetch color for

See:
  • /topics/nyheder
  • /topics/
Returns:

Object of topic colors, or single color for given topic.

Type
Object | String

<static> topics(topic) → {Object|String}

/topics/:topic

Get color codes for relevant topics

Parameters:
Name Type Argument Description
topic string <optional>

topic to fetch color for

See:
  • /topics/nyheder
  • /topics/
Returns:

Object of topic colors, or single color for given topic.

Type
Object | String