BC Laws Retrieves a specific document from the BCLaws legislative repository with search text highlighted (XML format)

BC Laws - Retrieves a specific document from the BCLaws legislative repository with search text highlighted (XML format)

The /document API allows you to retrieve actual documents from the BCLaws legislative repository. To retrieve a document from the repository you need the aspect identifier and two other specific pieces of information about the document: the index identifier and the document identifier. These unique identifiers can be retrieved from the /content API.

Posted on:

2018-08-27

API Description

Provider

BC Laws

decription

BC Laws is an electronic library providing free public access to the laws of British Columbia. BC Laws is hosted by the Queen’s Printer of British Columbia and published in partnership with the Ministry of Justice and the Law Clerk of the Legislative Assembly. BC Laws contains a comprehensive collection of BC legislation and related materials. It is available on the internet in two forms: First: The library is available as a web site in which users can browse and search the laws of British Columbia. Second: The library is available as a portal to legislation in raw XML1 data format, accessible via the BC Laws API2. This direct access to raw data is intended to enable third parties to build or add their own custom applications based on the structure of the data and all the associated search functionality inherent in that structure. The BC Laws website itself is an example of one such application.

Curl command through Streamdata.io

curl -v "https://streamdata.motwin.net/http://www.bclaws.ca/civix/document/id/{aspectId}/{civixIndexId}/{civixDocumentId}/xml/search/{searchString}?X-Sd-Token={streamdata_token}"



Return to Main Page



Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.