FunlrnApi - API That can find prime number , get molar mass and etc

You Can Beta test my API. I will publish a guide with an app so that everyone can use it within somedays

Api Link :- https://api.funlrn.in


Example 1

Get details about the element

https://api.funlrn.in/api/v1/chemical/findcompound/?element=<element_name>

Question : https://api.funlrn.in/api/v1/chemical/findcompound/?element=Na

Result :

{"AtomicMass":22.99,"AtomicNumber":11.0,"AtomicRadius":"2.2","BoilingPoint":"1156","Config":"[Ne] 3s1","Density":"0.971","Discoverer":"Davy","Electronegativity":0.93,"Electrons":11.0,"Element":"Sodium","FirstIonization":"5.1391","Group":1.0,"Isotopes":7.0,"MassNumber":23.0,"MeltingPoint":"371.15","Metal":true,"Metalloid":false,"Natural":true,"Neutrons":12.0,"Nonmetal":false,"Period":3.0,"Phase":"solid","Protons":11.0,"Radioactive":false,"Shells":3.0,"SpecificHeat":"1.228","Symbol":"Na","Type":"Alkali Metal","Unnamed: 0":10,"Valence":1.0,"Year":"1807"}


Example 2

Get details about the compound
https://api.funlrn.in/api/v1/chemical/findformula/?chemical=<compound_name>

Question : https://api.funlrn.in/api/v1/chemical/findformula/?chemical=NaOH

Result :

{ formula : Na₁O₁H₁, Molar : 40.0}


Example 3

Get details about the number
https://api.funlrn.in/api/v1/numbers/find_details/?num=<int_input>

Question : https://api.funlrn.in/api/v1/numbers/find_details/?num=21

Result :

{"Is_It_Even":"false","Is_It_Prime":"false","List_of_factors":"1.0, 3.0, 7.0, 21.0"}

Supports GET till now after sometime I will add POST

3 Likes

Good API, a useful one :wink:


P.S: Is it all 3 apis in one :thinking:, not a good idea though...

1 Like

Yes Right

Why not

1 Like

its not a good idea mixing 3 different apis in one and the API name is about Prime(prime numbers), I have no objection saying this is wrong but I just said what I thought...

1 Like

Then I will change the sub-domain name to api.funlrn.in

1 Like

No its completely your wish and I didn't meant that and :point_down:

1 Like