- Help Topics: 1. A Short Introduction to IGSDB V2 2. What's Changed
2.1. Product Types and Subtypes
2.2. Window Subtypes
2.3. The "CGDB" ID
3. Using the Web Interface
3.1. The Glazing Product List
3.2. Glazing Product Detail
4. Using the API
4.1. API Overview
4.2. V1 and V2 API
4.3. What's Changed from V1
4.4. Using API Tokens
4.5. Product List (Filtering and Pagination)
4.6. Product Detail
4.6. GraphQL
4.1. API Overview
REST API for IGSDB
A simple, interactive API documentation page implemented in Open API (Swagger) is available here:
View API DocsThese Open API docs provide information on both version 1 and version 2 of the API (use selector in top right corner).
TLDR Guide
To test the api from the command line:
- Create an API token
- Contact us to get a user account on this site.
- Make sure you're logged in. If you are, you should see an "Account" item in the far right of the nav menu above.
- Select Account > User Profile. Your API token will be on your User Profile page.
-
Make an HTTP GET request to an API endpoint using curl. Make sure to include your token in
the request
under the request header 'Authorization:Token'.
For example, run the following command in a terminal on your machine to get a list of all IGSDB products in JSON form:
curl -XGET https://igsdb.herokuapp.com/api/products/ -H 'Authorization:Token ( your user's API token )'