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
https://mail.google.com/mail/u/1?ui=2&ik=d4cb24cc17&attid=0.2&permmsgid=msg-a:r4463879374437476970&th=187ffeeadb1091cb&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ_fc4joNzt6osHQCxun6INbp_mUo-_iLlVyS49dtrz-ebFqlOw6FpT4di7DiieQknpEok5hlNTEQTbO1PcpZzkcqwH5-eudtA9QDOm3k2p6yIr1vkp6KtnR91A&disp=emb&realattid=ii_lh6jeca40
You should be able to extract your Developer Token under Developer section like shown in the picture below
https://mail.google.com/mail/u/1?ui=2&ik=d4cb24cc17&attid=0.1&permmsgid=msg-a:r4463879374437476970&th=187ffeeadb1091cb&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ_LYj_bAsvUI-S4jcuK0yGU2nOYTDVNLPC2bPESQz3m8FdDCToqtyIVwI9OejcS4rYfB8huk5xJ-gGfaa3BAa5bGOL0i_jlfVmnUB3fCCtXu7eGhEkvk_78eGE&disp=emb&realattid=ii_lh6jgzc61
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