Why do you want extension for this ? And the Lattin name of elements are limited. You can make use of this site, when screen initiali just extract the name, symbol, reason or meaning in Lattin name of the particular element. So when user inputs text, use the block compare texts, you can show the result automatically.
And it is just very simple process
http://www.wermac.org/materials/chemical_elements.html
Thank You, for your help and i request you to give it free for me
1 Like
That is a nice Idea but I want that if ther type sodium cloride it need to say NaCl
But Thank You for your help
ya it would be free , i will try making the extension by tommorow
1 Like
And another help, please do that also
The help is, If I put NaCl in textbox it need to say that Sodium Cloride
and another one is if I put Sodium cloride it need to say NaCl
Peter
(Moderator)
August 9, 2021, 6:48am
#9
Just use this json. Not extension necessary. Information is easy to get out with a web component.
{
"elements": [
{
"name": "Hydrogen",
"appearance": "colorless gas",
"atomic_mass": 1.008,
"boil": 20.271,
"category": "diatomic nonmetal",
"color": null,
"density": 0.08988,
"discovered_by": "Henry Cavendish",
"melt": 13.99,
"molar_heat": 28.836,
"named_by": "Antoine Lavoisier",
"number": 1,
"period": 1,
"phase": "Gas",
"source": "https://en.wikipedia.org/wiki/Hydrogen",
"spectral_img": "https://en.wikipedia.org/wiki/File:Hydrogen_Spectra.jpg",
"summary": "Hydrogen is a chemical element with chemical symbol H and atomic number 1. With an atomic weight of 1.00794 u, hydrogen is the lightest element on the periodic table. Its monatomic form (H) is the most abundant chemical substance in the Universe, constituting roughly 75% of all baryonic mass.",
This file has been truncated. show original
4 Likes
Peter
(Moderator)
August 9, 2021, 6:49am
#10
I think a lot of users believe an extension is the holy grail of a blockly builder. You can do most things without an extension.
2 Likes
Where can I paste this code
This is JSON response, and you can extract the required value by using desire method .
But that was nice JSON @Peter , thanks for that. I will make use of that
What else you want, it comprises of all details… Great…
Ok, But where I need write this JSON
Copy the link into web URL, when web got text just parse JSON to list using dictionary method…
I am not understand can you send me the block
Wait… I am in online class, I will send you… just stay to build as per the above said… You will correct yourself…
Peter
(Moderator)
August 9, 2021, 7:01am
#18
Just search the community for json. There are plenty of topics and tutorials.
iamwsumit
(Sumit Kumar)
August 9, 2021, 7:01am
#20
Search on community instead begging for blocks.
Recently Kodular has removed the Json component but has added the Dictionaries.
The Dictionaries can be used to obtain data from a Json in a simple way.
Using the dictionaries you don’t need to use any Json extension.
First of all, dictionaries are not a component. That’s why you won’t find it in the Designer.
You will find it in the block section:
[imagen]
In this example we are going to obtain the data from the Api newsapi.org
The idea is to get something like this:
[Tutorial Json Ap…
2 Likes
This post was flagged by the community and is temporarily hidden.
system
(system)
Closed
September 8, 2021, 7:02am
#22
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.