This repository contains the API documentation and SPARQL queries of the TheyBuyForYou project. The core API has been built to allow developers to obtain public procurement data from the TheyBuyForYou project knowledge graph.
The API is organised around REST and uses R4R tool. All API calls should be made to the http://tbfy.librairy.linkeddata.es/kg-api/ base domain. A JSON file will be returned in all responses from the API. The API allows you 27 different resources organised in 5 main groups:
- Contracting processes
The API is available online at:
The whole information available in the knowledge graph project from each of the five main categories can be extracted (Contract, Contracting Process, Tender, Award and Organisation) including complete listings, searches by identifier and second level of nesting.
The API returns a JSON file for each resource implemented.
Click here to get an example of the listing of organisations.
The whole documentation for developers of the API, with examples, can be found in the following link:
Lastest Stable Release
Lastest stable release can be found here:
Please take a look at our contributing guidelines if you're interested in helping!