@financial-times/n-topic-tracker-client

Contains code for accessing next-topic-tracker-api

Usage no npm install needed!

<script type="module">
  import financialTimesNTopicTrackerClient from 'https://cdn.skypack.dev/@financial-times/n-topic-tracker-client';
</script>

README

n-topic-tracker-client

For accessing next-topic-tracker-api (forked from n-knowledge-builder)

This library is isomorphic

Environment variables

Note: these are only relevant when using this library server side.

| Name | Default value | Notes | |-|-|-| | TOPIC_TRACKER_HOST | https://www.ft.com | In some instances you might want to go directly to heroku | | TOPIC_TRACKER_DEFAULT_TIMEOUT | 3000 | In milliseconds | | TOPIC_TRACKER_API_KEY || Required, but it won't throw if this isn't provided |