Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Indonesia Bandung docstring #428

Merged
merged 7 commits into from
Jun 26, 2020
Merged
21 changes: 21 additions & 0 deletions kingfisher_scrapy/spiders/indonesia_bandung.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@


class IndonesiaBandung(BaseSpider):
"""
API endpoints
Get Birms Contract List by year
Link
https://birms.bandung.go.id/api/contracts/year/{year}?page={page}
Parameters
year
contract year number
page
page number
Get Birms Detail Contract by OCID
Link
https://birms.bandung.go.id/api/newcontract/ocds-afzrfb-{b/s}-{year}-{uniqid}
aguilerapy marked this conversation as resolved.
Show resolved Hide resolved
Parameters
b/s
aguilerapy marked this conversation as resolved.
Show resolved Hide resolved
birms or spse source database
aguilerapy marked this conversation as resolved.
Show resolved Hide resolved
year
contract year number
uniqid
id number
aguilerapy marked this conversation as resolved.
Show resolved Hide resolved
"""
name = 'indonesia_bandung'

def start_requests(self):
Expand Down