Create an account on app.2050-materials.com and contact [email protected] to enable testing access.
Login to app.2050-materails.com and navigate to your account area on the top right corner like shown in the picture below
You should be able to extract your Developer Token under Developer section like shown in the picture below
The above JWT developer token is encrypted and it is personal and should not be shared with others. Please use this Developer token to extract the API token using */getapitoken
* endpoint.
The curl call example is:
*curl --location '[<https://app.2050-materials.com/developer/api/getapitoken/>](<https://app.2050-materials.com/developer/api/getapitoken/>)' --header 'Authorization: Bearer <Developer Token>'*
The response will be in the format as shown below,
*{ "api_token": "<api token for making api calls>", "refresh_token": "<refresh token for refreshing api_token"}*
Using the above *api_token*
, you should be able get the data from the following APIs
*get_products_count
* Gives the total number of products which are able to be accessed using our API*get_product_filters
* Gives the list and codes of various filters which can be used with get_products API*get_products
* Gives the products and their data. Filters can be used similarly to the filters available in the UI of product results page.
For example ***/get_products?product_type=5&building_applications=13***
*get_generic_materials*
- Gives the material data which are in our platform.*With test user access only 5 products are made available with the APIs and with the rate limit of 100 calls/hour