mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Name the Local area, say what each News section needs, and credit its sources
Local reads the area at the view centre (`/outline?at=`) and asks the feed
for its reports (`at`): the area is outlined faintly on the globe and named
at the top of the section ("News from Kazakhstan"; within 500 km at sea).
A disputed area is named as itself. A read that a newer look replaced, or
one left behind by a switch to Conflicts, is dropped, and a server without
the area route is asked once.
A section read from a key the server lacks says which key it needs
(503 `no_key`), that the key was refused (`key_rejected`) or that its
daily allowance is spent (`key_quota`); the other section keeps reading.
Liveuamap and World News API join the key registry.
Cards name the service a report came through ("via GDELT Project"), and
Liveuamap and Natural Earth are credited once their data shows. Economy is
a category of its own. Disputed-area labels are smaller and show the name
only; outlines keep up to 300 parts.
This commit is contained in:
1 parent
fa736a7cd5
commit
edb5837ae5
27 files changed
+1343
-154
No files matched your search
@@ -89,6 +89,26 @@ export const KEY_SETUP_KEYS = Object.freeze([
|
||||
envVars: Object.freeze(['FIRMS_MAP_KEY']),
|
||||
tier: 'free',
|
||||
}),
|
||||
Object.freeze({
|
||||
id: 'liveuamap',
|
||||
title: 'LIVEUAMAP', // i18n-ignore: provider product name
|
||||
unlocks: msg(
|
||||
'Precise conflict points in the News layer, beside GDELT’s articles',
|
||||
),
|
||||
getUrl: 'https://liveuamap.com/promo/api',
|
||||
envVars: Object.freeze(['LIVEUAMAP_API_KEY']),
|
||||
tier: 'metered',
|
||||
}),
|
||||
Object.freeze({
|
||||
id: 'worldnewsapi',
|
||||
title: 'WORLD NEWS API', // i18n-ignore: provider product name
|
||||
unlocks: msg(
|
||||
'Local in the News layer: the day’s news from the outlets of the country in view',
|
||||
),
|
||||
getUrl: 'https://worldnewsapi.com/console/',
|
||||
envVars: Object.freeze(['WORLDNEWSAPI_KEY']),
|
||||
tier: 'free',
|
||||
}),
|
||||
Object.freeze({
|
||||
id: 'tomtom',
|
||||
title: 'TOMTOM', // i18n-ignore: provider product name
|
||||
|
||||
Reference in new issue
Block a user