Skip to content

Commit c19e412

Browse files
committed
Use appname parameter to access ReliefWeb API
1 parent 859d5d7 commit c19e412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databank/management/commands/sources/RELIEFWEB.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
logger = logging.getLogger(__name__)
1212

13-
DISASTER_API = "https://api.reliefweb.int/v1/disasters/"
13+
DISASTER_API = "https://api.reliefweb.int/v1/disasters/?appname=IFRCReport" # Change it to an env var
1414
RELIEFWEB_DATETIME_FORMAT = "%Y-%m-%d"
1515

1616

0 commit comments

Comments
 (0)