OpenBCca / airbnb-regulation

Airbnb Regulation Project
MIT License
1 stars 0 forks source link

[MVP] Create API client to retrieve data from Vancouver Open Data Portal #19

Open nam-m opened 10 months ago

nam-m commented 10 months ago

Description

To verify policy sources, it is needed to verify with an official database with business license.The Vancouver Open Data Portal is selected as it contains suitable data for Airbnb listings in City of Vancouver.

Tasks

  1. Create API client that calls Business licenses API. Note that the JSON results will be used in policy methods in #17

  2. Make sure the following tests are included:

    Unit Testing

    • Test API endpoints for valid/invalid inputs for the policies

    Integration Testing

    • Test API service integration with policies using mocking libraries
    • Test API responses/error handling

Links

Tony-Thawatchai commented 9 months ago

Here is the API form B.C. Government.

https://developer.api.bcregistry.gov.bc.ca/apis-summary

API Access Request Instructions

https://developer.api.bcregistry.gov.bc.ca/api-access-request/