Skip to content

Commit

Permalink
Add API documentation and Caveats
Browse files Browse the repository at this point in the history
  • Loading branch information
aguilerapy committed May 6, 2021
1 parent 15f2a60 commit 513779b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kingfisher_scrapy/spiders/uganda_releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ class Uganda(IndexSpider):
"""
Domain
Government Procurement Portal (GPP) of Public Procurement and Disposal of Public Assets Authority (PPDA)
Caveats
The domains described in the API documentation must be replaced by https://gpppapi.com
Spider arguments
from_date
Download only data from this year onward (YYYY format).
Expand All @@ -19,6 +21,8 @@ class Uganda(IndexSpider):
If ``from_date`` is provided, defaults to the current year.
The year refers to the start of the fiscal year range, e.g. if ``until_date`` = '2017' then the fiscal year is
'2017-2018'
API documentation
https://docs.google.com/spreadsheets/d/10tVioy-VOQa1FwWoRl5e1pMbGpiymA0iycNcoDFkvks/edit#gid=365266172
"""
name = 'uganda_releases'
download_delay = 30 # to avoid API 429 error "too many request"
Expand Down

0 comments on commit 513779b

Please sign in to comment.