Widgets¶
Widgets are chunks of javascript code that can be copied into website source code to display HEP Training content. There are several different styles and functionalities available from our configurable widget suite. Widgets can be used to enhance your site and offer your community lists of relevant events or training resources.
API¶
HEP Training has a fully functioning JSON API. You can explore our JSON-API by appending .json_api to the end of the URL of most pages (excluding parameters). For example:
https://
heptraining .cern .ch /materials .json _api ?keywords = python https://
heptraining .cern .ch /events /15th -hep -c -course -and -hands -on -training -advanced -c .json _api
To get schema.org/Bioschemas JSON-LD representation of individual materials or events, append .jsonld instead:
The full documentation for the HEP Training JSON API can be found here:
View the JSON-API documentation
If you already use the old API, technical information is still available in the legacy API documentation.